projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8cbd6c
)
fixed bug when snapping envelope (introduced by commit 931d95b5)
author
Holger Schemel
<info@artsoft.org>
Thu, 7 Feb 2019 22:40:30 +0000
(23:40 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 10 Feb 2019 14:44:22 +0000
(15:44 +0100)
src/events.c
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index 31d45abff4cc3946e05589270ad869d05765e3d4..ee5e492c93c0d94f786af2d20e3a239a92ae2b82 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-405,7
+405,10
@@
void ClearPlayerAction(void)
// simulate key release events for still pressed keys
key_joystick_mapping = 0;
for (i = 0; i < MAX_PLAYERS; i++)
+ {
stored_player[i].action = 0;
+ stored_player[i].snap_action = 0;
+ }
ClearJoystickState();
ClearPlayerMouseAction();