fixed bug using scroll buffer also for MM engine after game was solved
[rocksndiamonds.git] / src / tools.c
index 63718a51c691b3e92d8ce743826fc3a2408150cf..ee00da19228e710bae0cd5641acf931aaf0b06de 100644 (file)
@@ -3973,7 +3973,9 @@ static int RequestHandleEvents(unsigned int req_state)
   {
     if (level_solved)
     {
-      SetDrawtoField(DRAW_TO_FIELDBUFFER);
+      /* the MM game engine does not use a special (scrollable) field buffer */
+      if (level.game_engine_type != GAME_ENGINE_TYPE_MM)
+       SetDrawtoField(DRAW_TO_FIELDBUFFER);
 
       HandleGameActions();