Skip to content

Commit

Permalink
SpellsLvl03: Properly end the the fireball spell
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Jan 15, 2018
1 parent e5951b3 commit 3540341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/magic/spells/SpellsLvl03.cpp
Expand Up @@ -320,9 +320,9 @@ void FireballSpell::Update() {
//m_duration = std::min(ulCurrentTime + 1500, m_duration);

DoSphericDamage(Sphere(eCurPos, 30.f * m_level), 3.f * m_level, DAMAGE_AREA, DAMAGE_TYPE_FIRE | DAMAGE_TYPE_MAGICAL, m_caster);
m_duration = 0;
ARX_SOUND_PlaySFX(SND_SPELL_FIRE_HIT, &sphere.origin);
ARX_NPC_SpawnAudibleSound(sphere.origin, entities[m_caster]);
requestEnd();
}

ARX_SOUND_RefreshPosition(m_snd_loop, eCurPos);
Expand Down

0 comments on commit 3540341

Please sign in to comment.