mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core/Quests: Fixed issue reported by static analysis
Coverity defect ID: 1355241
(cherry picked from commit a01fd52267)
This commit is contained in:
committed by
joschiwald
parent
4c60bbea0e
commit
a2ee7e16ec
@@ -1044,6 +1044,12 @@ public:
|
||||
{
|
||||
PrepareAuraScript(spell_z_check_AuraScript);
|
||||
|
||||
public:
|
||||
spell_z_check_AuraScript()
|
||||
{
|
||||
_posZ = 0.0f;
|
||||
}
|
||||
|
||||
void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
_posZ = GetTarget()->GetPositionZ();
|
||||
|
||||
Reference in New Issue
Block a user