changeset 1120:17a01695926b

trying to get dark sacrifice to work
author zipi
date Wed, 29 May 2013 23:19:01 +0100
parents aa706cde7fda
children 72eb21a62633
files mm7_6.cpp
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_6.cpp	Wed May 29 22:51:00 2013 +0100
+++ b/mm7_6.cpp	Wed May 29 23:19:01 2013 +0100
@@ -6188,7 +6188,7 @@
 			if ( (signed int)pNPCStats->uNumNewNPCs > 0)
 			{
 				pNPCData = pNPCStats->pNewNPCData;
-				__debugbreak(); // data offset
+				//__debugbreak(); // data offset
 				AwardType *_v734 = &achieved_awards[_v733];
 				do
 				{
@@ -6216,12 +6216,13 @@
 				continue;
 			}
 			v610 = 76 * v609;
-			*((int *)&pParty->pPlayers[3].pInstalledBeacons[4].uBeaconTime + 19 * v609) = 0;
+			//*((int *)&pParty->pPlayers[3].pInstalledBeacons[4].uBeaconTime + 19 * v609) = 0;
+			pParty->pHirelings[v609-1].evt_B = 0;
 			v611 = pIconsFrameTable->FindIcon("spell96");
 			//*(int *)((char *)&pParty->pPlayers[3].pInstalledBeacons[4].uBeaconTime + v610 + 4) = pIconsFrameTable->GetIconAnimLength(v611);
-			pParty->pHirelings[v609-1].evt_B = pIconsFrameTable->GetIconAnimLength(v611);
+			pParty->pHirelings[v609-1].evt_C = pIconsFrameTable->GetIconAnimLength(v611);
 			//*(int *)((char *)&pParty->pPlayers[3].pInstalledBeacons[3].field_18 + v610) = 1;
-			pParty->pHirelings[v609-1].field_24 = 1;
+			pParty->pHirelings[v609-1].evt_A = 1;
 
 			v612 = pParty->pPlayers;
 			do