diff --git a/src/research.c b/src/research.c index d36740017..a03bcefc6 100644 --- a/src/research.c +++ b/src/research.c @@ -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; }