1.1 --- a/cssdm_events.cpp Mon Sep 07 19:23:37 2009 -0700
1.2 +++ b/cssdm_events.cpp Fri Jun 25 00:33:30 2010 -0700
1.3 @@ -147,14 +147,14 @@
1.4 player->respawn_timer = timersys->CreateTimer(&s_PlayerSpawner, DM_GetRespawnWait(), pack, 0);
1.5 }
1.6
1.7 -void OnClientCommand_Post(edict_t *edict)
1.8 +void OnClientCommand_Post(edict_t *edict, const CCommand &args)
1.9 {
1.10 if (!g_IsRunning)
1.11 {
1.12 return;
1.13 }
1.14
1.15 - const char *cmd = engine->Cmd_Argv(0);
1.16 + const char *cmd = args.Arg(0);
1.17
1.18 if (strcmp(cmd, "joinclass") == 0)
1.19 {