void CommandCallback(const CCommand &command) { #else void CommandCallback() { CCommand command; #endif g_HL2.PushCommandStack(&command); g_ConCmds.InternalDispatch(command); g_HL2.PopCommandStack(); }
void CommandCallback(const CCommandContext &context, const CCommand &command) { #elif SOURCE_ENGINE >= SE_ORANGEBOX void CommandCallback(const CCommand &command) { #else void CommandCallback() { CCommand command; #endif g_HL2.PushCommandStack(&command); g_ConCmds.InternalDispatch(command); g_HL2.PopCommandStack(); }