Fix dedicated compiling errors

This commit is contained in:
Alibek Omarov
2018-06-14 20:31:46 +03:00
parent b5c621ae36
commit d0ff201da2
7 changed files with 15 additions and 6 deletions

View File

@@ -2701,7 +2701,9 @@ qboolean Mod_LoadBmodelLumps( const byte *mod_base, qboolean isworld )
if( isworld )
{
loadmodel = mod; // restore pointer to world
#ifndef XASH_DEDICATED
Mod_InitDebugHulls(); // FIXME: build hulls for separate bmodels (shells, medkits etc)
#endif // XASH_DEDICATED
}
for( i = 0; i < bmod->wadlist.count; i++ )