Fix 7.6 protocol issue / Typo

This commit is contained in:
Sam
2013-11-19 01:09:31 +01:00
parent 69ae324676
commit ec012cb137
3 changed files with 15 additions and 7 deletions

View File

@@ -1229,7 +1229,7 @@ void Game::setPVPMode(Otc::PVPModes pvpMode)
{
if(!canPerformGameAction())
return;
if(!g_game.getFeature(Otc::GameFeature::PVPModes))
if(!getFeature(Otc::GamePVPMode))
return;
if(m_pvpMode == pvpMode)
return;