Fixed a regression introduced with the previous change. Current set was
authorparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sun, 23 Sep 2007 23:33:35 +0000 (23:33 +0000)
committerparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sun, 23 Sep 2007 23:33:35 +0000 (23:33 +0000)
not being initialised in set_goto.

git-svn-id: https://s.snth.net/svn/neverball/trunk@1152 78b8d119-cf0a-0410-b17c-f493084dd1d7

ball/set.c

index 8746f74..52f1b65 100644 (file)
@@ -363,6 +363,8 @@ static void set_load_levels(void)
 
 void set_goto(int i)
 {
+    set = i;
+
     set_load_levels();
     set_load_hs();
 }