1
0
forked from mirrors/0ad

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
+1 -1
View File
@@ -70,7 +70,7 @@ jsval SColour::ToString( JSContext* cx, uintN argc, jsval* argv )
JSBool SColour::Construct( JSContext* cx, JSObject* obj, unsigned int argc, jsval* argv, jsval* rval )
{
assert( argc >= 3 );
debug_assert( argc >= 3 );
float alpha = 1.0;
if( argc >= 4 ) alpha = ToPrimitive<float>( argv[3] );