shithub: choc

Download patch

ref: 3d4af636e71625438ab756d80a328dcbc6850e51
parent: 4d0b888e577db400a2c8e87157ffa17257074856
author: Simon Howard <fraggle@gmail.com>
date: Tue Jul 29 14:05:16 EDT 2008

Monsters don't drop ammo in Chex Quest.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1161

--- a/src/p_inter.c
+++ b/src/p_inter.c
@@ -734,6 +734,12 @@
 		
     //	I_StartSound (&actor->r, actor->info->deathsound);
 
+    // In Chex Quest, monsters don't drop items.
+
+    if (gameversion == exe_chex)
+    {
+        return;
+    }
 
     // Drop stuff.
     // This determines the kind of object spawned