aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/westfall.cpp
diff options
context:
space:
mode:
authorGyx <2359980687@qq.com>2012-03-28 15:15:48 +0800
committerGyx <2359980687@qq.com>2012-03-28 15:15:48 +0800
commita20fa23ea6e151220678e51a790fbab599db32d9 (patch)
tree496da2fac7bfdc81abdbff5daf98b58ed60aa6a2 /src/server/scripts/EasternKingdoms/westfall.cpp
parente050945c91f6ff5764b336df790198b59323e65e (diff)
Core/Script: Code style and remove unused core.
Signed-off-by: Gyx <2359980687@qq.com>
Diffstat (limited to 'src/server/scripts/EasternKingdoms/westfall.cpp')
-rw-r--r--src/server/scripts/EasternKingdoms/westfall.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/server/scripts/EasternKingdoms/westfall.cpp b/src/server/scripts/EasternKingdoms/westfall.cpp
index 2285d3877e4..c8d2afc3375 100644
--- a/src/server/scripts/EasternKingdoms/westfall.cpp
+++ b/src/server/scripts/EasternKingdoms/westfall.cpp
@@ -243,13 +243,11 @@ public:
break;
case 44:
DoScriptText(SAY_END, me, player);
- {
- if (player)
- player->GroupEventHappens(QUEST_DEFIAS_BROTHERHOOD, me);
- }
+ player->GroupEventHappens(QUEST_DEFIAS_BROTHERHOOD, me);
break;
}
}
+
void EnterCombat(Unit* who)
{
DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2), me, who);