projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6064f07
)
fixed dumping tiles when holding mouse button (MM engine)
author
Holger Schemel
<info@artsoft.org>
Mon, 20 Feb 2017 07:37:06 +0000
(08:37 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Mar 2018 22:21:08 +0000
(23:21 +0100)
src/events.c
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index f769714ea10da1c7a6017d653d48cbbcdba1a0f5..55c9b59dfd6675cf1cb350b13e233dd65f526ed1 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-1333,8
+1333,8
@@
void HandleButton(int mx, int my, int button, int button_nr)
#endif
#ifdef DEBUG
- if (button == MB_PRESSED && !motion_status &&
IN_GFX_FIELD_PLAY(mx, my)
&&
- GetKeyModState() & KMOD_Control)
+ if (button == MB_PRESSED && !motion_status &&
!button_hold
&&
+
IN_GFX_FIELD_PLAY(mx, my) &&
GetKeyModState() & KMOD_Control)
DumpTileFromScreen(mx, my);
#endif