fixed a bug where the menu watch processor removed the wrong index from its list

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40831
This commit is contained in:
David Anderson 2007-05-21 05:00:38 +00:00
parent f94e956f83
commit 48cf71877b

View File

@ -188,7 +188,7 @@ void BaseMenuStyle::ProcessWatchList()
player = GetMenuPlayer(client);
if (!player->bInMenu || !player->menuHoldTime)
{
m_WatchList.remove(i);
m_WatchList.remove(client);
continue;
}
if (curTime > player->menuStartTime + player->menuHoldTime)