rename assert2 debug_assert; use instead of all plain assert(), since there are no longer any issues (e.g. can't use while handling an exception)

This was SVN commit r2447.
This commit is contained in:
janwas
2005-06-28 04:06:25 +00:00
parent cf37e9cbe6
commit ec6b78b252
114 changed files with 413 additions and 398 deletions
@@ -82,7 +82,7 @@ JSBool JSI_Entity::setProperty( JSContext* cx, JSObject* obj, jsval id, jsval* v
JSBool JSI_Entity::construct( JSContext* cx, JSObject* obj, unsigned int argc, jsval* argv, jsval* rval )
{
assert( argc >= 2 );
debug_assert( argc >= 2 );
CBaseEntity* baseEntity = NULL;
CVector3D position;
float orientation = 0.0f;
@@ -175,7 +175,7 @@ JSBool JSI_Entity::order( JSContext* cx, JSObject* obj, uintN argc, jsval* argv,
HEntity* e = (HEntity*)JS_GetPrivate( cx, obj );
// This needs to be sorted (uses Scheduler rather than network messaging)
assert( argc >= 1 );
debug_assert( argc >= 1 );
int orderCode;