From 47ef09e20e7933491572e46cebc296db822205b8 Mon Sep 17 00:00:00 2001 From: James Haley Date: Mon, 30 Aug 2010 02:59:05 +0000 Subject: Temporarily disable I_Error in P_SpawnMapThing to allow testing with Strife IWAD. Subversion-branch: /branches/strife-branch Subversion-revision: 1976 --- src/strife/p_mobj.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/strife/p_mobj.c b/src/strife/p_mobj.c index a2cc227a..98ed031b 100644 --- a/src/strife/p_mobj.c +++ b/src/strife/p_mobj.c @@ -801,11 +801,16 @@ void P_SpawnMapThing (mapthing_t* mthing) for (i=0 ; i< NUMMOBJTYPES ; i++) 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); + 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