diff -r 0c77e80749cf -r c53e1d3f3da0 cssdm_events.cpp --- a/cssdm_events.cpp Mon Sep 07 19:23:37 2009 -0700 +++ b/cssdm_events.cpp Fri Jun 25 00:33:30 2010 -0700 @@ -147,14 +147,14 @@ player->respawn_timer = timersys->CreateTimer(&s_PlayerSpawner, DM_GetRespawnWait(), pack, 0); } -void OnClientCommand_Post(edict_t *edict) +void OnClientCommand_Post(edict_t *edict, const CCommand &args) { if (!g_IsRunning) { return; } - const char *cmd = engine->Cmd_Argv(0); + const char *cmd = args.Arg(0); if (strcmp(cmd, "joinclass") == 0) {