aboutsummaryrefslogtreecommitdiff
path: root/src/game/OutdoorPvP.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-27 21:23:42 -0500
committermegamage <none@none>2009-04-27 21:23:42 -0500
commit8f0fecd7e3830dae08dd04a85263883391e18bb2 (patch)
tree55b8d40386813bb7304e6a7db5c2cb5da340926d /src/game/OutdoorPvP.cpp
parent2b753d0f23593849dc2b440406e6f7006c104c53 (diff)
*Fix build.
--HG-- branch : trunk
Diffstat (limited to 'src/game/OutdoorPvP.cpp')
-rw-r--r--src/game/OutdoorPvP.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/OutdoorPvP.cpp b/src/game/OutdoorPvP.cpp
index d702ea6d047..97acf08ce8c 100644
--- a/src/game/OutdoorPvP.cpp
+++ b/src/game/OutdoorPvP.cpp
@@ -83,7 +83,7 @@ bool OutdoorPvPObjective::AddObject(uint32 type, uint32 entry, uint32 map, float
data.spawntimesecs = 0;
data.animprogress = 100;
data.spawnMask = 1;
- data.go_state = 1;
+ data.go_state = GO_STATE_READY;
objmgr.AddGameobjectToGrid(guid, &data);
@@ -95,7 +95,7 @@ bool OutdoorPvPObjective::AddObject(uint32 type, uint32 entry, uint32 map, float
if(!pMap)
return true;
GameObject * go = new GameObject;
- if(!go->Create(guid,entry, pMap,PHASEMASK_NORMAL,x,y,z,o,rotation0,rotation1,rotation2,rotation3,100,1))
+ if(!go->Create(guid,entry, pMap,PHASEMASK_NORMAL,x,y,z,o,rotation0,rotation1,rotation2,rotation3,100,GO_STATE_READY))
{
sLog.outError("Gameobject template %u not found in database.", entry);
delete go;
@@ -238,7 +238,7 @@ bool OutdoorPvPObjective::AddCapturePoint(uint32 entry, uint32 map, float x, flo
data.spawntimesecs = 1;
data.animprogress = 100;
data.spawnMask = 1;
- data.go_state = 1;
+ data.go_state = GO_STATE_READY;
objmgr.AddGameobjectToGrid(guid, &data);
@@ -255,7 +255,7 @@ bool OutdoorPvPObjective::AddCapturePoint(uint32 entry, uint32 map, float x, flo
return true;
// add GO...
GameObject * go = new GameObject;
- if(!go->Create(guid,entry, pMap,PHASEMASK_NORMAL,x,y,z,o,rotation0,rotation1,rotation2,rotation3,100,1))
+ if(!go->Create(guid,entry, pMap,PHASEMASK_NORMAL,x,y,z,o,rotation0,rotation1,rotation2,rotation3,100,GO_STATE_READY))
{
sLog.outError("Gameobject template %u not found in database.", entry);
delete go;