diff options
author | megamage <none@none> | 2009-08-21 12:31:52 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-21 12:31:52 -0500 |
commit | 49abc30089bb902c10fc64d4e734b75cfbc5c426 (patch) | |
tree | f6eb3f3b760fbd2d6d3fc3fb21837de489329494 /src/game/ObjectMgr.cpp | |
parent | 3f24bc90856123732521aee92ea81bf02db18320 (diff) |
*Display max veh number and capture point banner in wintergrasp.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 5380d2a090f..cd780d8d785 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -1444,6 +1444,7 @@ uint32 ObjectMgr::AddGOData(uint32 entry, uint32 mapId, float x, float y, float data.spawnMask = 1; data.go_state = GO_STATE_READY; data.phaseMask = PHASEMASK_NORMAL; + data.artKit = goinfo->type == GAMEOBJECT_TYPE_CAPTURE_POINT ? 21 : 0; data.dbData = false; AddGameobjectToGrid(guid, &data); @@ -1581,7 +1582,7 @@ void ObjectMgr::LoadGameobjects() } data.animprogress = fields[12].GetUInt32(); - data.ArtKit = 0; + data.artKit = 0; uint32 go_state = fields[13].GetUInt32(); if (go_state >= MAX_GO_STATE) |