changeset 1979:92dfa0cafbe3

Fixing players not getting damaged by projectiles
author Grumpy7
date Mon, 28 Oct 2013 22:16:42 -0700
parents 2233efdc8d00
children c1c74df0a33e
files mm7_5.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_5.cpp	Mon Oct 28 20:29:53 2013 -0700
+++ b/mm7_5.cpp	Mon Oct 28 22:16:42 2013 -0700
@@ -283,7 +283,7 @@
 //----- (0043A97E) --------------------------------------------------------
 void __fastcall sub_43A97E(unsigned int uLayingItemID, signed int a2)
 {
-  if (PID_TYPE(a2) == OBJECT_BLVDoor)
+  if (PID_TYPE(a2) == OBJECT_Player)
   {
     layingitem_vel_50FDFC.x = pSpriteObjects[uLayingItemID].vVelocity.x;
     layingitem_vel_50FDFC.y = pSpriteObjects[uLayingItemID].vVelocity.y;