fixed inheritance not being used in the base menu style when removing clients from the watch list

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40889
This commit is contained in:
David Anderson 2007-06-06 06:04:16 +00:00
parent 92e8b40b99
commit 749f2a2ce7

View File

@ -256,7 +256,7 @@ void BaseMenuStyle::ClientPressedKey(int client, unsigned int key_press)
player->bInMenu = false;
if (player->menuHoldTime)
{
m_WatchList.remove(client);
RemoveClientFromWatch(client);
}
if (cancel)
@ -416,7 +416,7 @@ bool BaseMenuStyle::RedoClientMenu(int client, ItemOrder order)
{
if (player->menuHoldTime)
{
m_WatchList.remove(client);
RemoveClientFromWatch(client);
}
player->bAutoIgnore = false;
return false;