comparison CastSpellInfo.cpp @ 1808:4002c0fe5efc

Слияние
author Ritor1
date Mon, 07 Oct 2013 09:31:32 +0600
parents 4dee76d79c78
children 35c1e4ff6ba7
comparison
equal deleted inserted replaced
1807:04b92ce868e3 1808:4002c0fe5efc
3831 } 3831 }
3832 while ( (signed int)i < (signed int)pNPCStats->uNumNewNPCs ); 3832 while ( (signed int)i < (signed int)pNPCStats->uNumNewNPCs );
3833 } 3833 }
3834 v608 = pCastSpell->uPlayerID_2; 3834 v608 = pCastSpell->uPlayerID_2;
3835 if ( v608 != 4 && v608 != 5 3835 if ( v608 != 4 && v608 != 5
3836 || (v609 = (signed int)*(&pFontCChar + v608 + (unsigned __int8)pParty->field_709), v609 <= 0) 3836 || (v609 = (signed int)*(&pFontCChar + v608 + pParty->hirelingScrollPosition), v609 <= 0)
3837 || v609 >= 3 ) 3837 || v609 >= 3 )
3838 { 3838 {
3839 ShowStatusBarString(pGlobalTXT_LocalizationStrings[428], 2); // Spell failed 3839 ShowStatusBarString(pGlobalTXT_LocalizationStrings[428], 2); // Spell failed
3840 pAudioPlayer->PlaySound(SOUND_PlayerCantCastSpell, 0, 0, -1, 0, 0, 0, 0); 3840 pAudioPlayer->PlaySound(SOUND_PlayerCantCastSpell, 0, 0, -1, 0, 0, 0, 0);
3841 pCastSpell->uSpellID = 0; 3841 pCastSpell->uSpellID = 0;