Turn disabled asserts into warning log messages.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1755 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
dffa00c7bc
commit
898afb4920
|
@ -2055,7 +2055,7 @@ void researchResult(UDWORD researchIndex, UBYTE player, BOOL bDisplay)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_SOME_OTHER_TIME
|
||||
#ifdef DEBUG
|
||||
/*this just checks that there are not more than 32 weapons now available for
|
||||
the design screen - it'll give us grief in the design screen (which we may HAVE TO fix)!*/
|
||||
//only check if selectedPlayer has done the research
|
||||
|
@ -2079,13 +2079,13 @@ void researchResult(UDWORD researchIndex, UBYTE player, BOOL bDisplay)
|
|||
}
|
||||
if (compInc >= 32)
|
||||
{
|
||||
ASSERT( FALSE, "researchResult - more than 32 weapons now available" );
|
||||
debug(LOG_ERROR, "researchResult - more than 32 weapons now available");
|
||||
//don't bother checking any more
|
||||
break;
|
||||
}
|
||||
if (vtolCompInc >= 32)
|
||||
{
|
||||
ASSERT( FALSE, "researchResult - more than 32 vtol weapons now available" );
|
||||
debug(LOG_ERROR, "researchResult - more than 32 vtol weapons now available");
|
||||
//don't bother checking any more
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue