diff options
author | Simon Howard | 2006-05-19 20:03:49 +0000 |
---|---|---|
committer | Simon Howard | 2006-05-19 20:03:49 +0000 |
commit | c63afd766a9fdb19bc2c3a650f859bbba4699e8f (patch) | |
tree | b4a4baea9fe89472ff6073e1206456e647cb7982 | |
parent | a4ca7824d148d3dea70d222711cc05977a6ccd2b (diff) | |
download | chocolate-doom-c63afd766a9fdb19bc2c3a650f859bbba4699e8f.tar.gz chocolate-doom-c63afd766a9fdb19bc2c3a650f859bbba4699e8f.tar.bz2 chocolate-doom-c63afd766a9fdb19bc2c3a650f859bbba4699e8f.zip |
Initialise tracers to NULL on savegame load - fixes a problem with
revenant tracers in savegames.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 485
-rw-r--r-- | src/p_saveg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/p_saveg.c b/src/p_saveg.c index 558d7d8c..c7bfefcb 100644 --- a/src/p_saveg.c +++ b/src/p_saveg.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: p_saveg.c 367 2006-02-15 12:57:58Z fraggle $ +// $Id: p_saveg.c 485 2006-05-19 20:03:49Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -60,7 +60,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: p_saveg.c 367 2006-02-15 12:57:58Z fraggle $"; +rcsid[] = "$Id: p_saveg.c 485 2006-05-19 20:03:49Z fraggle $"; #include <stdio.h> @@ -1654,6 +1654,7 @@ void P_UnArchiveThinkers (void) saveg_read_mobj_t(mobj); mobj->target = NULL; + mobj->tracer = NULL; P_SetThingPosition (mobj); mobj->info = &mobjinfo[mobj->type]; mobj->floorz = mobj->subsector->sector->floorheight; |