* Use decent assertion expressions for some asserts (e.g. !"string", so that debuggers actually display something more interesting than 'FALSE')

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1837 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2007-06-07 18:31:42 +00:00
parent 0378115e2b
commit c5f107c36b
1 changed files with 2 additions and 2 deletions

View File

@ -2050,7 +2050,7 @@ BOOL proj_Direct(WEAPON_STATS *psStats)
return FALSE;
break;
default:
ASSERT( FALSE,"proj_Direct: unknown movement model" );
ASSERT(!"unknown movement model", "proj_Direct: unknown movement model");
break;
}
@ -2215,7 +2215,7 @@ BOOL objectDamage(BASE_OBJECT *psObj, UDWORD damage, UDWORD weaponClass,UDWORD w
return featureDamage((FEATURE *)psObj, damage, weaponSubClass);
break;
default:
ASSERT( FALSE, "objectDamage - unknown object type" );
ASSERT(!"unknown object type", "objectDamage - unknown object type");
}
return FALSE;
}