git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6036
d7cf8633-e32d-0410-b094-
e92efae38249
int i;
protocolversion_t protocol;
int nummodels, numsounds;
- entity_t *ent;
Con_DPrint("Serverinfo packet received.\n");
}
// we now have the worldmodel so we can set up the game world
- ent->render.model = cl.worldmodel = cl.model_precache[1];
- CL_BoundingBoxForEntity(&ent->render);
+ cl_entities[0].render.model = cl.worldmodel = cl.model_precache[1];
+ CL_BoundingBoxForEntity(&cl_entities[0].render);
R_Modules_NewMap();
CL_CGVM_Start();
}