diff mm7_6.cpp @ 1121:72eb21a62633

sacrifice working
author zipi
date Thu, 30 May 2013 20:25:50 +0100
parents 17a01695926b
children 45a8862d8b6e
line wrap: on
line diff
--- a/mm7_6.cpp	Wed May 29 23:19:01 2013 +0100
+++ b/mm7_6.cpp	Thu May 30 20:25:50 2013 +0100
@@ -6207,7 +6207,8 @@
 			}
 			v608 = pCastSpell->uPlayerID_2;
 			if ( v608 != 4 && v608 != 5
-				|| (v609 = (signed int)*(&pFontCChar + v608 + (unsigned __int8)pParty->field_709), v609 <= 0)
+				//|| (v609 = (signed int)*(&pFontCChar + v608 + (unsigned __int8)pParty->field_709), v609 <= 0)
+				|| (v609 = achieved_awards[v608 + (unsigned __int8)pParty->field_709 - 4], v609 <= 0)
 				|| v609 >= 3 )
 			{
 				ShowStatusBarString(pGlobalTXT_LocalizationStrings[428], 2); // Spell failed