shithub: choc

Download patch

ref: 47ef09e20e7933491572e46cebc296db822205b8
parent: a1497b9f334e35cb9214891a62a08fdb6137b82c
author: James Haley <haleyjd@hotmail.com>
date: Sun Aug 29 22:59:05 EDT 2010

Temporarily disable I_Error in P_SpawnMapThing to allow testing with
Strife IWAD.

Subversion-branch: /branches/strife-branch
Subversion-revision: 1976

--- a/src/strife/p_mobj.c
+++ b/src/strife/p_mobj.c
@@ -801,11 +801,16 @@
     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)