mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 05:41:52 +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,12 +1257,15 @@ 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
|
||||
|
||||
for (i = 0; i < svs.numprogs; i++) //do this AFTER precaches have been played with...
|
||||
if (svs.gametype != GT_Q1QVM) //we cannot do this with qvm
|
||||
{
|
||||
f = PR_FindFunction (svprogfuncs, "initents", svs.progsnum[i]);
|
||||
if (f)
|
||||
for (i = 0; i < svs.numprogs; i++) //do this AFTER precaches have been played with...
|
||||
{
|
||||
PR_ExecuteProgram(svprogfuncs, f);
|
||||
f = PR_FindFunction (svprogfuncs, "initents", svs.progsnum[i]);
|
||||
if (f)
|
||||
{
|
||||
PR_ExecuteProgram(svprogfuncs, f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue