mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-01-31 20:50:47 +00:00
Should fix vweps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3330 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ad07e50ee8
commit
1d68abc578
1 changed files with 10 additions and 1 deletions
|
@ -1655,7 +1655,7 @@ TRACE(("dbg: R_ApplyRenderer: reloading ALL models\n"));
|
||||||
TRACE(("dbg: R_ApplyRenderer: reloading model %s\n", cl.model_name[i]));
|
TRACE(("dbg: R_ApplyRenderer: reloading model %s\n", cl.model_name[i]));
|
||||||
cl.model_precache[i] = Mod_ForName (cl.model_name[i], false);
|
cl.model_precache[i] = Mod_ForName (cl.model_name[i], false);
|
||||||
|
|
||||||
if (!cl.model_precache[i])
|
if (!cl.model_precache[i] && i == 1)
|
||||||
{
|
{
|
||||||
Con_Printf ("\nThe required model file '%s' could not be found.\n\n"
|
Con_Printf ("\nThe required model file '%s' could not be found.\n\n"
|
||||||
, cl.model_name[i]);
|
, cl.model_name[i]);
|
||||||
|
@ -1668,6 +1668,15 @@ TRACE(("dbg: R_ApplyRenderer: reloading ALL models\n"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (i=0; i < MAX_VWEP_MODELS; i++)
|
||||||
|
{
|
||||||
|
if (*cl.model_name_vwep[i])
|
||||||
|
cl.model_precache_vwep[i] = Mod_ForName (cl.model_name_vwep[i], false);
|
||||||
|
else
|
||||||
|
cl.model_precache_vwep[i] = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef CSQC_DAT
|
#ifdef CSQC_DAT
|
||||||
for (i=1 ; i<MAX_CSQCMODELS ; i++)
|
for (i=1 ; i<MAX_CSQCMODELS ; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue