mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Fix config_minimal.h from being unable to compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5801 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
5cc499d5eb
commit
46eaeabbc6
2 changed files with 6 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue