From 2ec25b9ab94916c3dc953b0c7b24a0f6c1a5ea4e Mon Sep 17 00:00:00 2001 From: James Haley Date: Fri, 10 Feb 2012 02:11:56 +0000 Subject: Remove all temporary code that was put in place until MAXPLAYERS became 8 rather than 4 (unfortunately this was NOT accounted for in the save code). Subversion-branch: /branches/v2-branch Subversion-revision: 2498 --- src/strife/g_game.c | 10 ---------- src/strife/p_mobj.c | 12 ++---------- src/strife/p_saveg.c | 4 ++-- 3 files changed, 4 insertions(+), 22 deletions(-) (limited to 'src') diff --git a/src/strife/g_game.c b/src/strife/g_game.c index f76ce747..84e3c274 100644 --- a/src/strife/g_game.c +++ b/src/strife/g_game.c @@ -2244,11 +2244,6 @@ void G_BeginRecording (void) for (i=0 ; itype <= 4) + // haleyjd 20120209: [STRIFE] 8 player starts + if (mthing->type <= 8) { // save spots for respawning in network games playerstarts[mthing->type-1] = *mthing; @@ -960,15 +957,10 @@ void P_SpawnMapThing (mapthing_t* mthing) if (mthing->type == mobjinfo[i].doomednum) break; - /* if (i==NUMMOBJTYPES) I_Error ("P_SpawnMapThing: Unknown type %i at (%i, %i)", mthing->type, mthing->x, mthing->y); - */ - // haleyjd 08/29/10: STRIFE-FIXME: Temporarily disabled I_Error for testing purposes - if (i == NUMMOBJTYPES) - return; // don't spawn keycards and players in deathmatch if (deathmatch && mobjinfo[i].flags & MF_NOTDMATCH) diff --git a/src/strife/p_saveg.c b/src/strife/p_saveg.c index 2dc779f9..bc014de9 100644 --- a/src/strife/p_saveg.c +++ b/src/strife/p_saveg.c @@ -1620,7 +1620,7 @@ void P_WriteSaveGameHeader(char *description) //saveg_write8(gameepisode); //saveg_write8(gamemap); - for (i=0 ; i> 16) & 0xff); @@ -1659,7 +1659,7 @@ boolean P_ReadSaveGameHeader(void) //gameepisode = saveg_read8(); //gamemap = saveg_read8(); - for (i=0 ; i