]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
better expand variables inside comments than breaking lots of otherwise working stuff...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 27 Jun 2009 20:04:06 +0000 (20:04 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 27 Jun 2009 20:04:06 +0000 (20:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9034 d7cf8633-e32d-0410-b094-e92efae38249

cmd.c

diff --git a/cmd.c b/cmd.c
index b684a0caefd4fb121e969163e8d768d49a834423..b6fab2d29c70c5b36a39126f4c6161028a3f5598 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -984,8 +984,6 @@ static void Cmd_PreprocessString( const char *intext, char *outtext, unsigned ma
                                }
                        }
                }
-               else if( *in == '/' && *(in+1) == '/') // comment line starting
-                       break;
                else 
                        outtext[outlen++] = *in++;
        }