diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index f237ff822..9c32d422a 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -4567,7 +4567,9 @@ static char *ShowTime(unsigned int seconds) } void CL_Status_f(void) { +#ifdef CSQC_DAT extern world_t csqc_world; +#endif char adr[128]; float pi, po, bi, bo; @@ -4676,6 +4678,7 @@ void CL_Status_f(void) Con_Printf ("current map : %s (%s)\n", adr, cl.levelname); } +#ifdef CSQC_DAT if (csqc_world.progs) { extern int num_sfx; @@ -4703,6 +4706,7 @@ void CL_Status_f(void) if (cl.csqcdebug) Con_Printf("csqc debug : true\n"); } +#endif Con_Printf("gamedir : %s\n", FS_GetGamedir(true)); } diff --git a/engine/common/com_mesh.c b/engine/common/com_mesh.c index 4cd82b485..7bfafd941 100644 --- a/engine/common/com_mesh.c +++ b/engine/common/com_mesh.c @@ -2169,6 +2169,7 @@ void Mod_AddSingleSurface(entity_t *ent, int surfaceidx, shader_t *shader, qbool posedata = m->xyz_array; normdata = normals?m->normals_array:NULL; +#ifdef SKELETALMODELS if (m->numbones) { //intended shader might have caused it to use skeletal stuff. //we're too lame for that though. @@ -2182,6 +2183,7 @@ void Mod_AddSingleSurface(entity_t *ent, int surfaceidx, shader_t *shader, qbool Alias_TransformVerticies_V(m->bones, m->numvertexes, m->bonenums[0], m->boneweights[0], m->xyz_array[0], posedata[0]); } else +#endif { if (m->xyz_blendw[1] == 1 && m->xyz2_array) posedata = m->xyz2_array;