]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert "support comments in language list file" as tokenize_console already does it
authorRudolf Polzer <divverent@xonotic.org>
Wed, 22 Feb 2012 13:32:46 +0000 (14:32 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 22 Feb 2012 13:32:46 +0000 (14:32 +0100)
This reverts commit 279a9ad89a3d5c909969cc4597d56200355942b5.

qcsrc/menu/xonotic/languagelist.c

index ebb947c73627d21158b174a30adb62f83bb71619..5f6226f493fbee1ec5c5d1214cdf6aae16f62b1e 100644 (file)
@@ -155,8 +155,6 @@ void XonoticLanguageList_getLanguages(entity me)
        fh = fopen("languages.txt", FILE_READ);
        while((s = fgets(fh)))
        {
-               if(substring(s, 0, 2) == "//")
-                       continue; // comment
                n = tokenize_console(s);
                if(n < 3)
                        continue;