diff Game.cpp @ 2184:e0863f5beee0

SPELL_WATER_RECHARGE_ITEM
author Ritor1
date Fri, 24 Jan 2014 18:01:51 +0600
parents 0a1438c16c2b
children 385040580292
line wrap: on
line diff
--- a/Game.cpp	Thu Jan 23 23:35:10 2014 +0600
+++ b/Game.cpp	Fri Jan 24 18:01:51 2014 +0600
@@ -3725,9 +3725,8 @@
             pAudioPlayer->PlaySound((SoundID)203, 0, 0, -1, 0, 0, 0, 0);
             continue;
           }
-          v99 = quick_spell_at_page + 11 * pPlayers[uActiveCharacter]->lastOpenedSpellbookPage;
-          pPlayers[uActiveCharacter]->uQuickSpell = v99;
-          stru_AA1058[uActiveCharacter - 1]._494836(v99, uActiveCharacter);
+          pPlayers[uActiveCharacter]->uQuickSpell = quick_spell_at_page + 11 * pPlayers[uActiveCharacter]->lastOpenedSpellbookPage;
+          AA1058_PartyQuickSpellSound[uActiveCharacter - 1].AddPartySpellSound(pPlayers[uActiveCharacter]->uQuickSpell, uActiveCharacter);
           if ( uActiveCharacter )
             pPlayer10->PlaySound(SPEECH_12, 0);
           byte_506550 = 0;