Wenn neuer Level aufgeschlossen, diesen im Menü vorauswählen.
authorWintermute <wintermute@hannover.ccc.de>
Tue, 22 Oct 2013 18:13:16 +0000 (20:13 +0200)
committerWintermute <wintermute@hannover.ccc.de>
Tue, 22 Oct 2013 18:13:16 +0000 (20:13 +0200)
badge/jumpnrun/starter.c
mock/Makefile

index 4deb635..2e7eebf 100644 (file)
@@ -92,7 +92,7 @@ void jumpnrun_play(void) {
 
   while(0 == jumpnrun_pick_level(buf, &first_visible, &selected, progress)) {
     if(JUMPNRUN_WON == jumpnrun_play_level(buf) && selected == progress) {
 
   while(0 == jumpnrun_pick_level(buf, &first_visible, &selected, progress)) {
     if(JUMPNRUN_WON == jumpnrun_play_level(buf) && selected == progress) {
-      ++progress;
+      selected = ++progress;
       jumpnrun_save_progress(progress);
     }
   }
       jumpnrun_save_progress(progress);
     }
   }
index 11c7b7e..638e8e8 100644 (file)
@@ -83,7 +83,7 @@ distclean: clean
        $(RM) $(DEPS) $(wildcard *~)
 
 $(CONVERTER): $(CONVERTER_OBJS)
        $(RM) $(DEPS) $(wildcard *~)
 
 $(CONVERTER): $(CONVERTER_OBJS)
-       $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) $(LDLIBS) -o $@ $+
+       $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LDLIBS)
 
 play: all
        ./$(CONVERTER)
 
 play: all
        ./$(CONVERTER)
This page took 0.027758 seconds and 4 git commands to generate.