Mercurial > mm7
changeset 1870:7a193504f18e
Actor::AI_SpellAttack adding accidentally removed random position for meteor shower
author | Grumpy7 |
---|---|
date | Wed, 16 Oct 2013 05:59:21 +0200 |
parents | bc7a6ee34316 |
children | e26d8d15ef30 |
files | Actor.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Actor.cpp Wed Oct 16 04:36:30 2013 +0200 +++ b/Actor.cpp Wed Oct 16 05:59:21 2013 +0200 @@ -342,9 +342,9 @@ else if (masteryLevel == 4) v23 = 14; spellnumb = 0; + v28 = 0; for ( int i = 0; i < v23; i++) { - v28 = spellnumb; v30 = rand() % 1000; spellnumc = v30 - 2500; v120 = v28 * v28; @@ -396,6 +396,7 @@ pAudioPlayer->PlaySound((SoundID)word_4EE088_sound_ids[9], PID(OBJECT_Item, v36), 0, -1, 0, 0, 0, 0); } spellnumb = rand() % 1024 - 512; + v28 = rand() % 1024 - 512; } return; break;