X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fminigames%2Fminigame%2Fpong.qc;h=3cfee03b5f5cce0536759e307f80c2b8425d2a40;hb=832d649de01cf30444473d3766725e3356ae543f;hp=dd072a05be1f279b3b5f9b740a38702250890a7e;hpb=b0c92481c72ae52b468998c31fb78f809a99bb53;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/minigames/minigame/pong.qc b/qcsrc/common/minigames/minigame/pong.qc index dd072a05b..3cfee03b5 100644 --- a/qcsrc/common/minigames/minigame/pong.qc +++ b/qcsrc/common/minigames/minigame/pong.qc @@ -427,8 +427,12 @@ int pong_server_event(entity minigame, string event, ...) return true; case "pong_aimore": { + // keep declaration here, moving it into for() reverses weapon order + // potentially compiler bug + int j; if ( minigame.minigame_flags & PONG_STATUS_WAIT ) - for ( int j = 0; j < PONG_MAX_PLAYERS; j++ ) + for ( j = 0; j < PONG_MAX_PLAYERS; j++ ) + //for ( int j = 0; j < PONG_MAX_PLAYERS; j++ ) { if ( minigame.pong_paddles[j] == NULL ) {