core/MenuStyle_Valve.cpp
changeset 2400 76b7b4575e21
parent 2289 44045ead61cd
child 3004 e3ac0dc6d9a4
     1.1 --- a/core/MenuStyle_Valve.cpp	Fri Nov 14 03:38:59 2008 -0600
     1.2 +++ b/core/MenuStyle_Valve.cpp	Fri Nov 14 09:18:30 2008 -0600
     1.3 @@ -88,7 +88,7 @@
     1.4  		return;
     1.5  	}
     1.6  
     1.7 -	int client = engine->IndexOfEdict(pEdict);
     1.8 +	int client = IndexOfEdict(pEdict);
     1.9  	if (client < 1 || client > 256)
    1.10  	{
    1.11  		return;
    1.12 @@ -325,7 +325,7 @@
    1.13  	m_pKv->SetInt("time", time ? time : 200);
    1.14  
    1.15  	SH_CALL(g_pSPHCC, &IServerPluginHelpers::CreateMessage)(
    1.16 -		engine->PEntityOfEntIndex(client),
    1.17 +		PEntityOfEntIndex(client),
    1.18  		DIALOG_MENU,
    1.19  		m_pKv,
    1.20  		vsp_interface);