key.modelindex = kh_key_dropped;\r
key.model = "key";\r
key.kh_dropperteam = 0;\r
- key.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_PLAYERCLIP;\r
+ key.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_PLAYERCLIP | DPCONTENTS_BOTCLIP;\r
setsize(key, KH_KEY_MIN, KH_KEY_MAX);\r
key.colormod = TeamColor(initial_owner.team) * KH_KEY_BRIGHTNESS;\r
key.reset = key_reset;\r
kh_Key_AssignTo(key, player); // this also updates .kh_state\r
}\r
\r
-void kh_Key_DropAll(entity player, float suicide) // runs whenever a player dies\r
+void kh_Key_DropAll(entity player, float suicide) // runs whenever a player dies or gets eaten\r
{\r
entity key;\r
entity mypusher;\r