projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c4b703
)
fixed showing/hiding mouse cursor in playfield when playing MM style games
author
Holger Schemel
<info@artsoft.org>
Fri, 15 Dec 2017 08:13:12 +0000
(09:13 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Mar 2018 22:21:17 +0000
(23:21 +0100)
src/events.c
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index 4755d51ff57dc975ba1a27f91d45f02f7847fe2f..c40075e4d375faa0157249fbd68e9d909ba26b41 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-304,7
+304,8
@@
void HandleMouseCursor()
cursor_inside_playfield &&
DelayReached(&special_cursor_delay, special_cursor_delay_value))
{
- if (level.game_engine_type != GAME_ENGINE_TYPE_MM)
+ if (level.game_engine_type != GAME_ENGINE_TYPE_MM ||
+ tile_cursor.enabled)
SetMouseCursor(CURSOR_PLAYFIELD);
}
}