aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-30 14:48:58 -0500
committermegamage <none@none>2009-05-30 14:48:58 -0500
commit2a6d93ef5c085183e2bb8ba898bbd60e76aeb225 (patch)
tree201f63fb777c17de1d558515d76a57672393855b /src
parent1a857d382ae7bb08d331ee830220343304879b9f (diff)
*Fix the bug that opvp creatures and gobjects are not displayed.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/OutdoorPvP.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/OutdoorPvP.cpp b/src/game/OutdoorPvP.cpp
index f9a4b3840c2..97626c8c4e6 100644
--- a/src/game/OutdoorPvP.cpp
+++ b/src/game/OutdoorPvP.cpp
@@ -72,6 +72,7 @@ bool OPvPCapturePoint::AddObject(uint32 type, uint32 entry, uint32 map, float x,
data.animprogress = 100;
data.spawnMask = 1;
data.go_state = GO_STATE_READY;
+ data.phaseMask = PHASEMASK_NORMAL;
objmgr.AddGameobjectToGrid(guid, &data);
@@ -134,6 +135,7 @@ bool OPvPCapturePoint::AddCreature(uint32 type, uint32 entry, uint32 teamval, ui
data.is_dead = false;
data.movementType = cinfo->MovementType;
data.spawnMask = 1;
+ data.phaseMask = PHASEMASK_NORMAL;
objmgr.AddCreatureToGrid(guid, &data);