diff mm7_4.cpp @ 822:c232f160e6f3

Named SpriteObject spell-related fields.
author Nomad
date Tue, 26 Mar 2013 17:56:24 +0200
parents 9359c114f98c
children c1da83d8223f
line wrap: on
line diff
--- a/mm7_4.cpp	Tue Mar 26 14:55:43 2013 +0200
+++ b/mm7_4.cpp	Tue Mar 26 17:56:24 2013 +0200
@@ -2074,11 +2074,11 @@
       a3.y = 0;
       a3.x = 0;
       a1.stru_24.Reset();
-      a1.field_4C = pParty->pPartyBuffs[10].uPower;
-      a1.field_50 = pParty->ImmolationSkillLevel();
+      a1.spell_level = pParty->pPartyBuffs[PARTY_BUFF_IMMOLATION].uPower;
+      a1.spell_skill = pParty->ImmolationSkillLevel();
       v10 = 0;
       a1.uType = 1070;
-      a1.field_48 = 8;
+      a1.spell_id = SPELL_FIRE_IMMOLATION;
       if ( (signed int)pObjectList->uNumObjects <= 0 )
       {
 LABEL_19:
@@ -2102,7 +2102,7 @@
       a1.uAttributes = 0;
       a1.uSectorID = 0;
       a1.uSpriteFrameID = 0;
-      a1.field_58_pid = v12;
+      a1.spell_caster_pid = v12;
       a1.uFacing = 0;
       a1.uSoundID = 0;
       v13 = sub_46A89E((int)v41, 100, 307);