mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-22 04:31:15 +00:00
Add sanity checks for scripting
This commit is contained in:
parent
127ea10758
commit
cf61014770
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