From: Holger Schemel Date: Thu, 9 Mar 2017 18:47:38 +0000 (+0100) Subject: fixed bug using scroll buffer also for MM engine after game was solved X-Git-Tag: 4.1.0.0~171 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=41afdd5b9e132d508f40a47112ae76a5b3e5ec34;p=rocksndiamonds.git fixed bug using scroll buffer also for MM engine after game was solved --- diff --git a/src/tools.c b/src/tools.c index 63718a51..ee00da19 100644 --- a/src/tools.c +++ b/src/tools.c @@ -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();