Add sanity checks for scripting

This commit is contained in:
dhewg 2011-12-11 12:13:04 +01:00
parent bc07d06307
commit 26f7a392a8

View file

@ -58,6 +58,10 @@ void idLib::Init( void ) {
assert( sizeof( bool ) == 1 );
// assumptions from the scripting compiler/interpreter
assert( sizeof( float ) == sizeof( int ) );
assert( sizeof( idVec3 ) == sizeof( float ) * 3 );
// initialize memory manager
Mem_Init();