]> skyeroc.xyz Git - dgamelaunch/commitdiff
Make sure to watch right game on the second and further pages
authorJilles Tjoelker <jilles@stack.nl>
Thu, 19 Feb 2004 21:10:23 +0000 (21:10 +0000)
committerJilles Tjoelker <jilles@stack.nl>
Thu, 19 Feb 2004 21:10:23 +0000 (21:10 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@246 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.c

index 4074899b0bddfbeebba73ee97befe9545dd07efa..fe8f3a19bd4ee6725b78f42b6fa83e4882013796 100644 (file)
@@ -550,7 +550,7 @@ inprogressmenu ()
             {
               /* valid choice has been made */
               snprintf (ttyrecname, 130, "%sttyrec/%s", myconfig->dglroot,
-                        games[menuchoice - 97]->ttyrec_fn);
+                        games[menuchoice - 97 + offset]->ttyrec_fn);
               chosen_name = strdup (games[menuchoice - 97 + offset]->name);
 
               /* reuse thie char* */