Core/Quests: Fixed issue reported by static analysis
Coverity defect ID: 1355241 (cherry picked from commit a01fd522675701f5dd2d30684b1689c9f8432d75)
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