rnd-20020331-1-src
[rocksndiamonds.git] / src / screens.c
index 61d6d94e96a22baf2443d6556f54aab52262c3ad..b9b7c5dde86630c7858ad9338821c368b830fa09 100644 (file)
@@ -125,6 +125,7 @@ void DrawMainMenu()
   FadeSounds();
   KeyboardAutoRepeatOn();
   ActivateJoystickIfAvailable();
+  SetDrawDeactivationMask(REDRAW_NONE);
 
   /* needed if last screen was the playing screen, invoked from level editor */
   if (level_editor_test_game)
@@ -1478,8 +1479,10 @@ void HandleGenericSetupScreen(int mx, int my, int dx, int dy, int button)
        void (*menu_callback_function)(void) = setup_info[y].value;
 
        menu_callback_function();
+       break;  /* absolutely needed because 'setup_info' has changed! */
       }
     }
+
     return;
   }