commit 3d4af636e71625438ab756d80a328dcbc6850e51
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Tue Jul 29 18:05:16 2008 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Tue Jul 29 18:05:16 2008 +0000
Monsters don't drop ammo in Chex Quest.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1161
---
src/p_inter.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/p_inter.c b/src/p_inter.c
index ee91bcd6..dda55c37 100644
--- a/src/p_inter.c
+++ b/src/p_inter.c
@@ -734,6 +734,12 @@ P_KillMobj
// 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