aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Northrend
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2017-11-11 18:05:05 +0100
committerShauren <shauren.trinity@gmail.com>2021-02-06 21:41:51 +0100
commita68ab3241a54d60b283f4898f4002e6e5d7549ab (patch)
treef27839ac0b68eeef1ed39e54a6fb6680e6300801 /src/server/scripts/Northrend
parentc44478664a0b9ac47e0779b433f08efc38c64022 (diff)
Core/Misc: Fix static analysis issues
(cherry picked from commit 7e73f5f1edd8c99c3639e2a342cf044f6192fb6a)
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 906c223a5a3..9355001d075 100644
--- a/src/server/scripts/Northrend/zone_dragonblight.cpp
+++ b/src/server/scripts/Northrend/zone_dragonblight.cpp
@@ -409,7 +409,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);