From: divverent Date: Sat, 27 Jun 2009 20:04:06 +0000 (+0000) Subject: better expand variables inside comments than breaking lots of otherwise working stuff... X-Git-Tag: xonotic-v0.1.0preview~1591 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e6c842e2406b307ea68920bb496d6ab6214b09bf;p=xonotic%2Fdarkplaces.git better expand variables inside comments than breaking lots of otherwise working stuff because of bad comment detection. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9034 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cmd.c b/cmd.c index b684a0ca..b6fab2d2 100644 --- 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++; }