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/p_mobj.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/strife/p_mobj.c') diff --git a/src/strife/p_mobj.c b/src/strife/p_mobj.c index 8d1a7f3a..53d12f9c 100644 --- a/src/strife/p_mobj.c +++ b/src/strife/p_mobj.c @@ -896,10 +896,7 @@ void P_SpawnPlayer(mapthing_t* mthing) // [STRIFE] Modifications for: // * No Lost Souls, item count // * New mapthing_t flag bits -// -// STRIFE-FIXME/STRIFE-TODO: // * 8-player support -// * Restore I_Error for missing mapthings (8-player support is prerequisite) // void P_SpawnMapThing (mapthing_t* mthing) { @@ -930,8 +927,8 @@ void P_SpawnMapThing (mapthing_t* mthing) } // check for players specially - // STRIFE-TODO: Need 8 player starts - if (mthing->type <= 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) -- cgit v1.2.3