projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5956e2d
)
fixed bug using scroll buffer also for MM engine after game was solved
author
Holger Schemel
<info@artsoft.org>
Thu, 9 Mar 2017 18:47:38 +0000
(19:47 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Mar 2018 22:21:10 +0000
(23:21 +0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 63718a51c691b3e92d8ce743826fc3a2408150cf..ee00da19228e710bae0cd5641acf931aaf0b06de 100644
(file)
--- 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();