From 787d5b0509df491c7d4c1b30f205735323d81013 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 9 Jun 2008 07:49:13 +0000 Subject: [PATCH] check if command is "remap" AFTER command is set to something! git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8347 d7cf8633-e32d-0410-b094-e92efae38249 --- cd_shared.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cd_shared.c b/cd_shared.c index 2f6dde38..aa33079d 100644 --- a/cd_shared.c +++ b/cd_shared.c @@ -257,14 +257,14 @@ static void CD_f (void) int ret; int n; - if (strcasecmp(command, "remap") != 0) - Host_StartVideo(); - if (Cmd_Argc() < 2) return; command = Cmd_Argv (1); + if (strcasecmp(command, "remap") != 0) + Host_StartVideo(); + if (strcasecmp(command, "on") == 0) { enabled = true; -- 2.39.2