diff -r 2228ef062ddc -r e46ad208b9b4 core/MenuStyle_Valve.cpp --- a/core/MenuStyle_Valve.cpp Sat Oct 13 22:13:43 2007 +0000 +++ b/core/MenuStyle_Valve.cpp Sun Oct 14 00:04:21 2007 +0000 @@ -53,11 +53,11 @@ return &m_players[client]; } -bool ValveMenuStyle::OnClientCommand(int client, const char *cmd) +bool ValveMenuStyle::OnClientCommand(int client, const char *cmdname, const CCommand &cmd) { - if (strcmp(cmd, "sm_vmenuselect") == 0) + if (strcmp(cmdname, "sm_vmenuselect") == 0) { - int key_press = atoi(engine->Cmd_Argv(1)); + int key_press = atoi(cmd.Arg(1)); g_ValveMenuStyle.ClientPressedKey(client, key_press); return true; }