foxygit / doom Log in
commit 47ef09e20e7933491572e46cebc296db822205b8
Author:     James Haley <haleyjd@hotmail.com>
AuthorDate: Mon Aug 30 02:59:05 2010 +0000
Commit:     James Haley <haleyjd@hotmail.com>
CommitDate: Mon Aug 30 02:59:05 2010 +0000

    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(-)

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)