diff options
author | vincent-michael <vincent_michael@gmx.de> | 2016-05-15 18:07:36 +0200 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-01-08 19:35:02 +0100 |
commit | a2ee7e16ec3e3985fd39001c691c89d960f7d5c3 (patch) | |
tree | 638a56708ef1fa4b7f0ffa552d2472c1783ad365 | |
parent | 4c60bbea0eaddf137db7758aec24df38ba123caf (diff) |
Core/Quests: Fixed issue reported by static analysis
Coverity defect ID: 1355241
(cherry picked from commit a01fd522675701f5dd2d30684b1689c9f8432d75)
-rw-r--r-- | src/server/scripts/Northrend/zone_grizzly_hills.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/zone_grizzly_hills.cpp b/src/server/scripts/Northrend/zone_grizzly_hills.cpp index ef32da37592..3e3215129d3 100644 --- a/src/server/scripts/Northrend/zone_grizzly_hills.cpp +++ b/src/server/scripts/Northrend/zone_grizzly_hills.cpp @@ -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(); |