*Wintergrasp: only allow a workshop to build 4 vehicles.
*remove all existing vehicles when workshop is destroyed or captured. --HG-- branch : trunk
This commit is contained in:
@@ -226,6 +226,14 @@ protected:
|
||||
m_capturePoints[cp->m_CapturePointGUID] = cp;
|
||||
}
|
||||
|
||||
OPvPCapturePoint * GetCapturePoint(uint32 lowguid) const
|
||||
{
|
||||
OutdoorPvP::OPvPCapturePointMap::const_iterator itr = m_capturePoints.find(lowguid);
|
||||
if(itr != m_capturePoints.end())
|
||||
return itr->second;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void RegisterZone(uint32 zoneid);
|
||||
bool HasPlayer(Player *plr) const;
|
||||
void TeamCastSpell(TeamId team, int32 spellId);
|
||||
|
||||
Reference in New Issue
Block a user