aboutsummaryrefslogtreecommitdiff
path: root/src/game/OutdoorPvPNA.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-19 18:17:30 -0500
committermegamage <none@none>2009-08-19 18:17:30 -0500
commit47b30023a573dcd3daf67508da6c31ae2033e28f (patch)
tree5b152518842aa5517ebadc6830bd354da38f6606 /src/game/OutdoorPvPNA.cpp
parentbd0dbcc9ad239e608ebc881558f64877b60d14d8 (diff)
*Use map instead of vector to store capture points in opvp.
--HG-- branch : trunk
Diffstat (limited to 'src/game/OutdoorPvPNA.cpp')
-rw-r--r--src/game/OutdoorPvPNA.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/OutdoorPvPNA.cpp b/src/game/OutdoorPvPNA.cpp
index e4d78e4d717..74517794a1c 100644
--- a/src/game/OutdoorPvPNA.cpp
+++ b/src/game/OutdoorPvPNA.cpp
@@ -207,7 +207,7 @@ OPvPCapturePoint(pvp), m_capturable(true), m_GuardsAlive(0), m_ControllingFactio
m_HalaaState(HALAA_N), m_WyvernStateSouth(0), m_WyvernStateNorth(0), m_WyvernStateWest(0),
m_WyvernStateEast(0), m_RespawnTimer(NA_RESPAWN_TIME), m_GuardCheckTimer(NA_GUARD_CHECK_TIME)
{
- AddCapturePoint(182210,530,-1572.57,7945.3,-22.475,2.05949,0,0,0.857167,0.515038);
+ SetCapturePointData(182210,530,-1572.57,7945.3,-22.475,2.05949,0,0,0.857167,0.515038);
}
bool OutdoorPvPNA::SetupOutdoorPvP()
@@ -220,7 +220,7 @@ bool OutdoorPvPNA::SetupOutdoorPvP()
m_obj = new OPvPCapturePointNA(this);
if(!m_obj)
return false;
- m_capturePoints.push_back(m_obj);
+ AddCapturePoint(m_obj);
return true;
}