Added an additional saftey check.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1290 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f5f36c88f4
commit
1ba75d6183
1 changed files with 4 additions and 1 deletions
|
@ -587,6 +587,9 @@ void Model_NextDownload (void)
|
|||
}
|
||||
|
||||
cl.worldmodel = cl.model_precache[1];
|
||||
|
||||
if (!cl.worldmodel)
|
||||
Host_EndGame("Worldmodel wasn't sent\n");
|
||||
}
|
||||
|
||||
if (cl.worldmodel->type != mod_brush && cl.worldmodel->type != mod_heightmap)
|
||||
|
|
Loading…
Reference in a new issue