I broke this with non-qvm mods when I added qvm support. So, this is the fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2657 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f099ce3e58
commit
fe77805022
1 changed files with 2 additions and 1 deletions
|
@ -1108,8 +1108,9 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us
|
||||||
|
|
||||||
#ifdef VM_Q1
|
#ifdef VM_Q1
|
||||||
if (svs.gametype != GT_Q1QVM) //we cannot do this with qvm
|
if (svs.gametype != GT_Q1QVM) //we cannot do this with qvm
|
||||||
pr_global_struct->mapname = PR_NewString(svprogfuncs, sv.name, 0);
|
|
||||||
#endif
|
#endif
|
||||||
|
pr_global_struct->mapname = PR_NewString(svprogfuncs, sv.name, 0);
|
||||||
|
|
||||||
// serverflags are for cross level information (sigils)
|
// serverflags are for cross level information (sigils)
|
||||||
pr_global_struct->serverflags = svs.serverflags;
|
pr_global_struct->serverflags = svs.serverflags;
|
||||||
pr_global_struct->time = 0.1; //HACK!!!! A few QuakeC mods expect time to be non-zero in spawn funcs - like prydon gate...
|
pr_global_struct->time = 0.1; //HACK!!!! A few QuakeC mods expect time to be non-zero in spawn funcs - like prydon gate...
|
||||||
|
|
Loading…
Reference in a new issue