]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/scriplib.c
Merge commit 'dfce2da577f1e56886ad26e58e37d9eda2d7c8a3' into garux-merge
[xonotic/netradiant.git] / tools / quake3 / common / scriplib.c
index 7a5079ead40ee1d19a39da4b9bbd6c10135511f6..eb79bef7303f5e6670f2b760a4988c39fe584902 100644 (file)
@@ -266,7 +266,7 @@ skipspace:
                        Error( "Line %i is incomplete\nFile location be: %s\n", scriptline, g_strLoadedFileLocation );
                }
                script->script_p += 2;
-               while ( script->script_p[0] != '*' && script->script_p[1] != '/' )
+               while ( script->script_p[0] != '*' || script->script_p[1] != '/' )
                {
                        if ( *script->script_p == '\n' ) {
                                script->line++;