comparison mm7_6.cpp @ 1121:72eb21a62633

sacrifice working
author zipi
date Thu, 30 May 2013 20:25:50 +0100
parents 17a01695926b
children 45a8862d8b6e
comparison
equal deleted inserted replaced
1120:17a01695926b 1121:72eb21a62633
6205 } 6205 }
6206 while ( (signed int)i < (signed int)pNPCStats->uNumNewNPCs ); 6206 while ( (signed int)i < (signed int)pNPCStats->uNumNewNPCs );
6207 } 6207 }
6208 v608 = pCastSpell->uPlayerID_2; 6208 v608 = pCastSpell->uPlayerID_2;
6209 if ( v608 != 4 && v608 != 5 6209 if ( v608 != 4 && v608 != 5
6210 || (v609 = (signed int)*(&pFontCChar + v608 + (unsigned __int8)pParty->field_709), v609 <= 0) 6210 //|| (v609 = (signed int)*(&pFontCChar + v608 + (unsigned __int8)pParty->field_709), v609 <= 0)
6211 || (v609 = achieved_awards[v608 + (unsigned __int8)pParty->field_709 - 4], v609 <= 0)
6211 || v609 >= 3 ) 6212 || v609 >= 3 )
6212 { 6213 {
6213 ShowStatusBarString(pGlobalTXT_LocalizationStrings[428], 2); // Spell failed 6214 ShowStatusBarString(pGlobalTXT_LocalizationStrings[428], 2); // Spell failed
6214 pAudioPlayer->PlaySound(SOUND_PlayerCantCastSpell, 0, 0, -1, 0, 0, 0, 0); 6215 pAudioPlayer->PlaySound(SOUND_PlayerCantCastSpell, 0, 0, -1, 0, 0, 0, 0);
6215 pCastSpell->spellnum = 0; 6216 pCastSpell->spellnum = 0;