summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2008-07-29 18:05:16 +0000
committerSimon Howard2008-07-29 18:05:16 +0000
commit3d4af636e71625438ab756d80a328dcbc6850e51 (patch)
tree676f1afcf943c465bd0580ec354e85eb1b97b721
parent4d0b888e577db400a2c8e87157ffa17257074856 (diff)
downloadchocolate-doom-3d4af636e71625438ab756d80a328dcbc6850e51.tar.gz
chocolate-doom-3d4af636e71625438ab756d80a328dcbc6850e51.tar.bz2
chocolate-doom-3d4af636e71625438ab756d80a328dcbc6850e51.zip
Monsters don't drop ammo in Chex Quest.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1161
-rw-r--r--src/p_inter.c6
1 files changed, 6 insertions, 0 deletions
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