projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added using headless mode (no window) when converting levels
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 55a28fc40d0cf13ef90ec1df29c3910bb15e5661..6c990cbc2cb956ff1cf009e92bfef32a56f4493d 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-3736,6
+3736,9
@@
void WaitForEventToContinue()
{
boolean still_wait = TRUE;
+ if (program.headless)
+ return;
+
/* simulate releasing mouse button over last gadget, if still pressed */
if (button_status)
HandleGadgets(-1, -1, 0);