diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/strife/p_mobj.c | 13 |
1 files changed, 9 insertions, 4 deletions
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) |