diff mm7_1.cpp @ 303:3dcc9d945eeb

DamageMonsterFromParty
author Nomad
date Tue, 19 Feb 2013 15:39:50 +0200
parents 0ea5fbd16edb
children cc8e4dc397ec
line wrap: on
line diff
--- a/mm7_1.cpp	Tue Feb 19 13:31:50 2013 +0200
+++ b/mm7_1.cpp	Tue Feb 19 15:39:50 2013 +0200
@@ -4489,7 +4489,7 @@
     a1.uAttributes = 48;
     a1.uSectorID = pIndoor->GetSector(pOut.x, pOut.z, pOut.y);
     a1.uSpriteFrameID = 0;
-    a1.field_58 = 0;
+    a1.field_58_pid = 0;
     a1.field_5C = 0;
     a1.uFacing = 0;
     a1.Create(0, 0, 0, 0);
@@ -5694,7 +5694,7 @@
 			}
 		  }
 		}
-		a1.field_58 = 4;
+		a1.field_58_pid = OBJECT_Player;
 		a1.uObjectDescID = v6;
 		a1.vPosition.y = pParty->vPosition.y;
 		a1.vPosition.x = pParty->vPosition.x;
@@ -6077,7 +6077,7 @@
             }
             a1.uObjectDescID = v6;
             a1.vPosition.y = pParty->vPosition.y;
-            a1.field_58 = 4;
+            a1.field_58_pid = OBJECT_Player;
             a1.vPosition.x = pParty->vPosition.x;
             a1.vPosition.z = pParty->sEyelevel + pParty->vPosition.z;
             a1.uSoundID = 0;