aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Northrend
diff options
context:
space:
mode:
authorKandera <KanderaDev@gmail.com>2012-08-20 16:23:24 -0400
committerKandera <KanderaDev@gmail.com>2012-08-20 16:23:24 -0400
commitb9f60fe56c86914c15f3a3064f9b8b91ea166012 (patch)
treefbf2fdc54a78058515d063b9198776beee1bd03c /src/server/scripts/Northrend
parentc428675048d2b6833ac055d7c5ed5d8f7659f667 (diff)
Core/Wintergrasp: finish implementation for battlefields. this is highly experimental enable at you're own risk. will almost definatly cause issues with the wintergrasp patch floating around
Diffstat (limited to 'src/server/scripts/Northrend')
-rw-r--r--src/server/scripts/Northrend/CMakeLists.txt1
-rw-r--r--src/server/scripts/Northrend/wintergrasp.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/server/scripts/Northrend/CMakeLists.txt b/src/server/scripts/Northrend/CMakeLists.txt
index 3502e7fb104..dd8dd17c947 100644
--- a/src/server/scripts/Northrend/CMakeLists.txt
+++ b/src/server/scripts/Northrend/CMakeLists.txt
@@ -10,6 +10,7 @@
set(scripts_STAT_SRCS
${scripts_STAT_SRCS}
+ Northrend/wintergrasp.cpp
Northrend/isle_of_conquest.cpp
Northrend/storm_peaks.cpp
Northrend/Ulduar/HallsOfLightning/instance_halls_of_lightning.cpp
diff --git a/src/server/scripts/Northrend/wintergrasp.cpp b/src/server/scripts/Northrend/wintergrasp.cpp
index 66a79a4be22..eba5b7f69d4 100644
--- a/src/server/scripts/Northrend/wintergrasp.cpp
+++ b/src/server/scripts/Northrend/wintergrasp.cpp
@@ -21,6 +21,7 @@
#include "WorldSession.h"
#include "ObjectMgr.h"
#include "Vehicle.h"
+#include "GameObjectAI.h"
#define GOSSIP_HELLO_DEMO1 "Build catapult."
#define GOSSIP_HELLO_DEMO2 "Build demolisher."
@@ -323,7 +324,7 @@ class go_wg_vehicle_teleporter : public GameObjectScript
uint32 _checkTimer;
};
- GameObjectAI* GetAI(GameObject* go) const
+ GameObjectAI* GetGameObjectAI(GameObject* go) const
{
return new go_wg_vehicle_teleporterAI(go);
}