From d7066f920b009a4b5909a551be23a5f92f8113a9 Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 23 Mar 2006 18:46:51 +0000 Subject: [PATCH] Bugfix. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2130 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/savegame.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/server/savegame.c b/engine/server/savegame.c index a34ae23c1..ebe1a5bd2 100644 --- a/engine/server/savegame.c +++ b/engine/server/savegame.c @@ -704,7 +704,10 @@ qboolean SV_LoadLevelCache(char *level, char *startspot, qboolean ignoreplayers) if (e2) e2->_float = 1; for (j=0 ; j< NUM_SPAWN_PARMS ; j++) - *spawnparamglobals[j] = host_client->spawn_parms[j]; + { + if (spawnparamglobals[j]) + *spawnparamglobals[j] = host_client->spawn_parms[j]; + } pr_global_struct->time = sv.time; pr_global_struct->self = EDICT_TO_PROG(svprogfuncs, ent); ent->area.next = ent->area.prev = NULL;