Fix CONFIG_OUTDOORPVP_WINTERGRASP_ENABLED by doing a check in OPvPWintergrasp::Update as well as SetupOutDoorPvP

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-10-11 12:27:50 +02:00
parent 0e419d0083
commit d19ecaa817

View File

@@ -851,6 +851,9 @@ void OPvPWintergrasp::UpdateClock()
bool OPvPWintergrasp::Update(uint32 diff)
{
if(!sWorld.getConfig(CONFIG_OUTDOORPVP_WINTERGRASP_ENABLED))
return false;
if (m_timer > diff)
{
m_timer -= diff;