aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvincent-michael <vincent_michael@gmx.de>2017-03-18 18:37:40 +0100
committervincent-michael <vincent_michael@gmx.de>2017-03-18 18:38:04 +0100
commit182dba61dbfc7a6d009a214c49e3dcab553887d4 (patch)
tree2a6db7457282ad5a2e6a3dab3bca926e73456771
parentb0b6e4f133fb0be65a3f3ffa7744b722672f6c56 (diff)
Scripts/HowlingFjord: Fixed warning
-rw-r--r--src/server/scripts/Northrend/zone_howling_fjord.cpp5
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)