]> skyeroc.xyz Git - dgamelaunch/commitdiff
Fix a bug where num_games was one too big.
authorPasi Kallinen <paxed@alt.org>
Sun, 6 Jan 2008 10:13:29 +0000 (10:13 +0000)
committerPasi Kallinen <paxed@alt.org>
Sun, 6 Jan 2008 10:13:29 +0000 (10:13 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@402 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

config.y

index 09e94460d26438d9de182f704903196de7e8b43a..e75e734950ef2b66072256fe014b27f3c7642208 100644 (file)
--- a/config.y
+++ b/config.y
@@ -335,8 +335,8 @@ definegame : TYPE_DEFINE_GAME '{'
        }
        game_definitions '}'
        {
-           ncnf++;
            num_games = ncnf;
+           ncnf++;
        }
        ;