Permalink
Browse files

[bws321] Fixed bug in SPELL_AURA_CONTROL_VEHICLE handler because of w…

…hich unit didn't exit vehicle when aura drops.
  • Loading branch information...
1 parent e90aaa6 commit 0466c9114004e7d8e1490d9702219fadda9a617e @PSZ PSZ committed Apr 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/game/SpellAuras.cpp
@@ -8924,7 +8924,7 @@ void Aura::HandleAuraControlVehicle(bool apply, bool Real)
// some SPELL_AURA_CONTROL_VEHICLE auras have a dummy effect on the player - remove them
caster->RemoveAurasDueToSpell(GetId());
- if (caster->GetVehicleKit() == pVehicle)
+ if (caster->GetVehicle() == pVehicle)
caster->ExitVehicle();
}
}

3 comments on commit 0466c91

@MaxXx2021
Collaborator

Спасибо :)

@rsa
Contributor
rsa commented on 0466c91 Apr 13, 2011

Мда... Долго однако баг болтался. Почему же его до сих пор никто не заметил?

@PSZ
Collaborator
PSZ commented on 0466c91 Apr 14, 2011

Привыкли хакать в скриптах )

Please sign in to comment.