1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2007-09-13 15:32:23 +00:00
parent f099ce3e58
commit fe77805022

View file

@ -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...