world model on the client
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7507
d7cf8633-e32d-0410-b094-
e92efae38249
int i;
const char *r, *newt;
skinframe_t *skinframe;
+ if (!r_refdef.worldmodel)
+ {
+ Con_Printf("There is no worldmodel\n");
+ return;
+ }
m = r_refdef.worldmodel;
if(Cmd_Argc() < 2)
model_t *m;
texture_t *t;
int i;
+ if (!r_refdef.worldmodel)
+ {
+ Con_Printf("There is no worldmodel\n");
+ return;
+ }
m = r_refdef.worldmodel;
Con_Print("Worldmodel textures :\n");