1
0
Fork 0
forked from fte/fteqw

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4920 fc73d0e0-1445-4013-8a0c-d673dee63da5

This commit is contained in:
Spoike 2015-06-26 13:29:40 +00:00
parent 24b8fff515
commit df31b15073
2 changed files with 3 additions and 1 deletions

View file

@ -15,7 +15,7 @@ static f_modified_t *f_modified_list;
qboolean care_f_modified; qboolean care_f_modified;
qboolean f_modified_particles; qboolean f_modified_particles;
void QDECL rulesetcallback(cvar_t *var, char *oldval) static void QDECL rulesetcallback(cvar_t *var, char *oldval)
{ {
Validation_Apply_Ruleset(); Validation_Apply_Ruleset();
} }

View file

@ -6786,6 +6786,7 @@ galiasinfo_t *Mod_ParseIQMMeshModel(model_t *mod, char *buffer, size_t fsize)
CrossProduct(onorm1[i], onorm2[i], onorm3[i]); CrossProduct(onorm1[i], onorm2[i], onorm3[i]);
} }
} }
#ifndef SERVERONLY //hopefully dedicated servers won't need this too often...
else if (h->num_vertexes) else if (h->num_vertexes)
{ //make something up { //make something up
for (i = 0; i < h->num_meshes; i++) for (i = 0; i < h->num_meshes; i++)
@ -6797,6 +6798,7 @@ galiasinfo_t *Mod_ParseIQMMeshModel(model_t *mod, char *buffer, size_t fsize)
Mod_NormaliseTextureVectors(gai[i].ofs_skel_norm, gai[i].ofs_skel_svect, gai[i].ofs_skel_tvect, gai[i].numverts); Mod_NormaliseTextureVectors(gai[i].ofs_skel_norm, gai[i].ofs_skel_svect, gai[i].ofs_skel_tvect, gai[i].numverts);
} }
} }
#endif
return gai; return gai;
} }