summaryrefslogtreecommitdiff
path: root/src/strife/p_mobj.c
diff options
context:
space:
mode:
authorJames Haley2012-02-10 02:11:56 +0000
committerJames Haley2012-02-10 02:11:56 +0000
commit2ec25b9ab94916c3dc953b0c7b24a0f6c1a5ea4e (patch)
treec965f2726b8088a39e1997e57e7968a98111acf4 /src/strife/p_mobj.c
parent8bc817adfb66bdec0ff4d9cddf0f240ef129c13a (diff)
downloadchocolate-doom-2ec25b9ab94916c3dc953b0c7b24a0f6c1a5ea4e.tar.gz
chocolate-doom-2ec25b9ab94916c3dc953b0c7b24a0f6c1a5ea4e.tar.bz2
chocolate-doom-2ec25b9ab94916c3dc953b0c7b24a0f6c1a5ea4e.zip
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
Diffstat (limited to 'src/strife/p_mobj.c')
-rw-r--r--src/strife/p_mobj.c12
1 files changed, 2 insertions, 10 deletions
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)