From 182dba61dbfc7a6d009a214c49e3dcab553887d4 Mon Sep 17 00:00:00 2001 From: vincent-michael Date: Sat, 18 Mar 2017 18:37:40 +0100 Subject: Scripts/HowlingFjord: Fixed warning --- src/server/scripts/Northrend/zone_howling_fjord.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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) -- cgit v1.2.3