From: Pasi Kallinen Date: Sun, 6 Jan 2008 10:13:29 +0000 (+0000) Subject: Fix a bug where num_games was one too big. X-Git-Tag: v1.6.1-roc-dev~306 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=dec0e3764fe134bd23a6cae87e8321cf0f954cc3;p=dgamelaunch Fix a bug where num_games was one too big. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@402 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/config.y b/config.y index 09e9446..e75e734 100644 --- a/config.y +++ b/config.y @@ -335,8 +335,8 @@ definegame : TYPE_DEFINE_GAME '{' } game_definitions '}' { - ncnf++; num_games = ncnf; + ncnf++; } ;