projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6dd2f3
)
added clearing joystick state to 'clear all input actions' event function
author
Holger Schemel
<info@artsoft.org>
Mon, 17 Jul 2017 16:19:00 +0000
(18:19 +0200)
committer
Holger Schemel
<info@artsoft.org>
Mon, 17 Jul 2017 16:19:00 +0000
(18:19 +0200)
src/events.c
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index 6671041620077893cc02078bc6a72725057c0f64..8ddf4e9b87e6704dac106abc5f7004dccb75022d 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-378,6
+378,8
@@
void ClearPlayerAction()
key_joystick_mapping = 0;
for (i = 0; i < MAX_PLAYERS; i++)
stored_player[i].action = 0;
+
+ ClearJoystickState();
}
void SleepWhileUnmapped()