aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-01-20 23:20:18 +0100
committertreeston <treeston.mmoc@gmail.com>2016-01-20 23:20:18 +0100
commitcebdf03349ed0c50a40cf52ddae887cf666d1eb5 (patch)
treee48c0710b3e1c5dacaaee7d4bd63b9129f5826ea /src
parent38368aa01e701b21a3a881dece8fd794d824bfb0 (diff)
Fix warning.
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp b/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp
index c875a336aaf..81f1e071da0 100644
--- a/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp
+++ b/src/server/scripts/Northrend/Naxxramas/boss_gothik.cpp
@@ -463,6 +463,8 @@ class boss_gothik : public CreatureScript
case NPC_LIVE_TRAINEE: // spawns south > center (front) > north
targetDBGuid = (CGUID_TRIGGER + 7) - (i % 3);
break;
+ default:
+ targetDBGuid = 0;
}
for (Creature* trigger : triggers)