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);