mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-17 01:31:47 +00:00
Add sanity checks for scripting
This commit is contained in:
parent
bc07d06307
commit
26f7a392a8
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue