From 898afb4920549fe81375b7f0f4c7046e4fd1cb14 Mon Sep 17 00:00:00 2001 From: Per Inge Mathisen Date: Tue, 29 May 2007 17:53:33 +0000 Subject: [PATCH] Turn disabled asserts into warning log messages. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1755 4a71c877-e1ca-e34f-864e-861f7616d084 --- src/research.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }