projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
242a824
)
added always clearing player action when waiting for events to continue
author
Holger Schemel
<info@artsoft.org>
Sun, 4 Oct 2020 23:07:05 +0000
(
01:07
+0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 4 Oct 2020 23:07:05 +0000
(
01:07
+0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 3bc4a77fef5b9cd1d2f569ab1e059b42fd73a32d..a6a08d72aaaccce1b8dcc035c76d287af54d81d8 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-4208,6
+4208,7
@@
void WaitForEventToContinue(void)
button_status = MB_RELEASED;
ClearEventQueue();
+ ClearPlayerAction();
while (still_wait)
{
@@
-4224,10
+4225,6
@@
void WaitForEventToContinue(void)
still_wait = FALSE;
break;
- case EVENT_KEYRELEASE:
- ClearPlayerAction();
- break;
-
default:
HandleOtherEvents(&event);
break;