core/MenuStyle_Valve.cpp
changeset 772 ff6662122b97
parent 769 d7dc79f1f93e
child 774 67b8b99bad61
     1.1 --- a/core/MenuStyle_Valve.cpp	Sat May 12 23:50:04 2007 +0000
     1.2 +++ b/core/MenuStyle_Valve.cpp	Sun May 13 00:18:04 2007 +0000
     1.3 @@ -189,10 +189,8 @@
     1.4  		return;
     1.5  	}
     1.6  
     1.7 -	FastLink<int>::iterator iter;
     1.8 -
     1.9  	unsigned int total = 0;
    1.10 -	for (iter=m_WatchList.begin(); iter!=m_WatchList.end(); ++iter)
    1.11 +	for (FastLink<int>::iterator iter=m_WatchList.begin(); iter!=m_WatchList.end(); ++iter)
    1.12  	{
    1.13  		do_lookup[total++] = (*iter);
    1.14  	}
    1.15 @@ -211,7 +209,7 @@
    1.16  		}
    1.17  		if (curTime > player->menuStartTime + player->menuHoldTime)
    1.18  		{
    1.19 -			_CancelMenu(i, false);
    1.20 +			_CancelMenu(client, false);
    1.21  		}
    1.22  	}
    1.23  }