]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/minigames/cl_minigames.qc
Merge branch 'terencehill/minigame_spectator_list' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / minigames / cl_minigames.qc
index 68fa2ac372daafc8e94f9c58eecbc5d730ee8afa..a4241ba97b14d4349170db7229cd5700fcf29d21 100644 (file)
@@ -307,7 +307,7 @@ string minigame_getWrappedLine(float w, vector theFontSize, textLengthUpToWidth_
                take_until = strlen(s);
 
        int skip = 0;
-       for ( int i = 0; i < take_until; i++ )
+       for ( int i = 0; i < take_until; ++i )
                if ( substring(s,i,1) == "\n" )
                {
                        take_until = i;
@@ -409,7 +409,7 @@ void minigame_cmd_workaround(float dummy, string...cmdargc)
        string cmd;
        cmd = "cmd minigame ";
        float i;
-       for ( i = 0; i < cmdargc; i++ )
+       for ( i = 0; i < cmdargc; ++i )
                cmd = strcat(cmd,...(i,string));
        localcmd(strcat(cmd,"\n"));
 }