removed pause command to fix #573

This commit is contained in:
Alfred Eriksson 2008-12-08 16:50:17 +00:00
parent 7c3eb2d6db
commit 4714e3806e

View file

@ -470,10 +470,6 @@ static void con_addvote(void *result, void *user_data)
dbg_msg("server", "added option '%s'", option->command); dbg_msg("server", "added option '%s'", option->command);
} }
static void con_pause(void *result, void *user_data) { game.world.paused = true; }
static void con_unpause(void *result, void *user_data) { game.world.paused = false; }
void mods_console_init() void mods_console_init()
{ {
MACRO_REGISTER_COMMAND("tune", "si", con_tune_param, 0); MACRO_REGISTER_COMMAND("tune", "si", con_tune_param, 0);
@ -486,9 +482,6 @@ void mods_console_init()
MACRO_REGISTER_COMMAND("say", "r", con_say, 0); MACRO_REGISTER_COMMAND("say", "r", con_say, 0);
MACRO_REGISTER_COMMAND("set_team", "ii", con_set_team, 0); MACRO_REGISTER_COMMAND("set_team", "ii", con_set_team, 0);
MACRO_REGISTER_COMMAND("pause", "", con_pause, 0);
MACRO_REGISTER_COMMAND("unpause", "", con_unpause, 0);
MACRO_REGISTER_COMMAND("addvote", "r", con_addvote, 0); MACRO_REGISTER_COMMAND("addvote", "r", con_addvote, 0);
} }