Fixes in options, hotkeys and viplist

This commit is contained in:
Eduardo Bart
2013-03-02 17:01:29 -03:00
parent 3ca85cbe87
commit 62921dee9b
10 changed files with 56 additions and 38 deletions

View File

@@ -1129,6 +1129,11 @@ void Game::removeVip(int playerId)
{
if(!canPerformGameAction())
return;
auto it = m_vips.find(playerId);
if(it == m_vips.end())
return;
m_vips.erase(it);
m_protocolGame->sendRemoveVip(playerId);
}