Mercurial > mm7
comparison mm7_5.cpp @ 1979:92dfa0cafbe3
Fixing players not getting damaged by projectiles
author | Grumpy7 |
---|---|
date | Mon, 28 Oct 2013 22:16:42 -0700 |
parents | 0f62a2b8bd0a |
children | c1c74df0a33e |
comparison
equal
deleted
inserted
replaced
1978:2233efdc8d00 | 1979:92dfa0cafbe3 |
---|---|
281 | 281 |
282 | 282 |
283 //----- (0043A97E) -------------------------------------------------------- | 283 //----- (0043A97E) -------------------------------------------------------- |
284 void __fastcall sub_43A97E(unsigned int uLayingItemID, signed int a2) | 284 void __fastcall sub_43A97E(unsigned int uLayingItemID, signed int a2) |
285 { | 285 { |
286 if (PID_TYPE(a2) == OBJECT_BLVDoor) | 286 if (PID_TYPE(a2) == OBJECT_Player) |
287 { | 287 { |
288 layingitem_vel_50FDFC.x = pSpriteObjects[uLayingItemID].vVelocity.x; | 288 layingitem_vel_50FDFC.x = pSpriteObjects[uLayingItemID].vVelocity.x; |
289 layingitem_vel_50FDFC.y = pSpriteObjects[uLayingItemID].vVelocity.y; | 289 layingitem_vel_50FDFC.y = pSpriteObjects[uLayingItemID].vVelocity.y; |
290 layingitem_vel_50FDFC.z = pSpriteObjects[uLayingItemID].vVelocity.z; | 290 layingitem_vel_50FDFC.z = pSpriteObjects[uLayingItemID].vVelocity.z; |
291 | 291 |