]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
use -developer automatically in debug builds
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 9 Sep 2009 19:05:10 +0000 (19:05 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 9 Sep 2009 19:05:10 +0000 (19:05 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9172 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index f01795afeabef0c3280e1ee65176aeacde9e3845..cff4feb002197799f54244667783cc1698a80220 100644 (file)
--- 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";