mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
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:
parent
2ff9a3ec28
commit
bfd94a378a
1 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
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...
|
||||
{
|
||||
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
|
||||
if (progstype == PROG_H2)
|
||||
|
|
Loading…
Reference in a new issue