diff options
author | vincent-michael <vincent_michael@gmx.de> | 2017-03-18 18:37:40 +0100 |
---|---|---|
committer | vincent-michael <vincent_michael@gmx.de> | 2017-03-18 18:38:04 +0100 |
commit | 182dba61dbfc7a6d009a214c49e3dcab553887d4 (patch) | |
tree | 2a6db7457282ad5a2e6a3dab3bca926e73456771 | |
parent | b0b6e4f133fb0be65a3f3ffa7744b722672f6c56 (diff) |
Scripts/HowlingFjord: Fixed warning
-rw-r--r-- | src/server/scripts/Northrend/zone_howling_fjord.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/scripts/Northrend/zone_howling_fjord.cpp b/src/server/scripts/Northrend/zone_howling_fjord.cpp index 80b4e0c0ead..7e91510d70e 100644 --- a/src/server/scripts/Northrend/zone_howling_fjord.cpp +++ b/src/server/scripts/Northrend/zone_howling_fjord.cpp @@ -46,7 +46,7 @@ enum Entries SPELL_HEALING_POTION = 17534, SPELL_BURN = 42685, - + EVENT_EMOTE_BEG = 1, EVENT_BEGIN = 2, EVENT_START_ESCORT = 3, @@ -212,8 +212,7 @@ public: void WaypointReached(uint32 waypointId) override { - Player* player = GetPlayerForEscort(); - if (!player) + if (GetPlayerForEscort()) return; switch (waypointId) |