mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 09:36:15 +00:00
Fixed: Warning assert always false
This commit is contained in:
parent
bc214862df
commit
c9fec14cef
2 changed files with 2 additions and 2 deletions
|
@ -456,7 +456,7 @@ bool CCtrlSheetInfo::parseCtrlInfo(xmlNodePtr cur, CInterfaceGroup * /* parentGr
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// must not have so much brick type, else must change code!
|
// must not have so much brick type, else must change code!
|
||||||
nlassert(brickType<32);
|
// nlassert(brickType<32);
|
||||||
|
|
||||||
// Ok set the bit associated
|
// Ok set the bit associated
|
||||||
_BrickTypeBitField|= 1<<brickType;
|
_BrickTypeBitField|= 1<<brickType;
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace BRICK_TYPE
|
||||||
TIMED_ACTION,
|
TIMED_ACTION,
|
||||||
BRICK_TYPE_COUNT,
|
BRICK_TYPE_COUNT,
|
||||||
BONUS,
|
BONUS,
|
||||||
UNKNOWN
|
UNKNOWN // Warning: Shouldn't exceed 32
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue