X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftools.c;h=6c990cbc2cb956ff1cf009e92bfef32a56f4493d;hp=55a28fc40d0cf13ef90ec1df29c3910bb15e5661;hb=ff84e204dde10499c64dace35dc5c4a017b70765;hpb=5c5685a92a0ca8060018c4d035e6b37fea7e0f5a diff --git a/src/tools.c b/src/tools.c index 55a28fc4..6c990cbc 100644 --- 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);