From: havoc Date: Wed, 9 Sep 2009 19:05:10 +0000 (+0000) Subject: use -developer automatically in debug builds X-Git-Tag: xonotic-v0.1.0preview~1460 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1b12307ede3829b006baf093affb693068754c00;p=xonotic%2Fdarkplaces.git use -developer automatically in debug builds git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9172 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index f01795af..cff4feb0 100644 --- a/host.c +++ b/host.c @@ -991,8 +991,12 @@ static void Host_Init (void) srand(time(NULL)); // FIXME: this is evil, but possibly temporary + // LordHavoc: doesn't seem very temporary... + // LordHavoc: enabled this by default on debug +#ifndef DEBUG // COMMANDLINEOPTION: Console: -developer enables warnings and other notices (RECOMMENDED for mod developers) if (COM_CheckParm("-developer")) +#endif { developer.value = developer.integer = 1; developer.string = "1";