From 48cf71877b587dce2b1a8aea44bb84499a7fd223 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 21 May 2007 05:00:38 +0000 Subject: [PATCH] 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 --- core/MenuStyle_Base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/MenuStyle_Base.cpp b/core/MenuStyle_Base.cpp index fde1a1fe..bd01313c 100644 --- a/core/MenuStyle_Base.cpp +++ b/core/MenuStyle_Base.cpp @@ -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)