aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Northrend
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2017-11-11 18:05:05 +0100
committerjackpoz <giacomopoz@gmail.com>2017-11-11 20:03:35 +0100
commit7e73f5f1edd8c99c3639e2a342cf044f6192fb6a (patch)
treed776cd41dfb6140d9bf745bccfe76177fdaf8647 /src/server/scripts/Northrend
parentf017b1d470aec0ca4918e059343d57de99fb2254 (diff)
Core/Misc: Fix static analysis issues
Diffstat (limited to 'src/server/scripts/Northrend')
-rw-r--r--src/server/scripts/Northrend/zone_dragonblight.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Northrend/zone_dragonblight.cpp b/src/server/scripts/Northrend/zone_dragonblight.cpp
index 43983271833..6af5973eab0 100644
--- a/src/server/scripts/Northrend/zone_dragonblight.cpp
+++ b/src/server/scripts/Northrend/zone_dragonblight.cpp
@@ -411,7 +411,7 @@ public:
tree->AI()->Talk(SAY_WALKER_FRIENDLY, player);
tree->DespawnOrUnsummon(1000);
}
- else if (roll == 0) // enemy version
+ else // enemy version
{
tree->AI()->Talk(SAY_WALKER_ENEMY, player);
tree->SetFaction(FACTION_MONSTER);