don't try to find initents func on q1qvms

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3866 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2011-07-10 21:32:51 +00:00
parent 2ff9a3ec28
commit bfd94a378a

View file

@ -1257,6 +1257,8 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us
// run the frame start qc function to let progs check cvars // run the frame start qc function to let progs check cvars
SV_ProgStartFrame (); //prydon gate seems to fail because of this allowance SV_ProgStartFrame (); //prydon gate seems to fail because of this allowance
if (svs.gametype != GT_Q1QVM) //we cannot do this with qvm
{
for (i = 0; i < svs.numprogs; i++) //do this AFTER precaches have been played with... for (i = 0; i < svs.numprogs; i++) //do this AFTER precaches have been played with...
{ {
f = PR_FindFunction (svprogfuncs, "initents", svs.progsnum[i]); f = PR_FindFunction (svprogfuncs, "initents", svs.progsnum[i]);
@ -1266,6 +1268,7 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us
} }
} }
} }
}
// load and spawn all other entities // load and spawn all other entities
if (progstype == PROG_H2) if (progstype == PROG_H2)