projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rocksndiamonds-1.2.0
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 7f71d4b790c68cf13fda22c0bb4dba5d4a6dfa30..2d8eca3e861657b6442169036ac88d5395f08934 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-662,7
+662,7
@@
void HandleJoystick()
case SETUP:
case SETUPINPUT:
{
case SETUP:
case SETUPINPUT:
{
- static long joystickmove_delay = 0;
+ static
unsigned
long joystickmove_delay = 0;
if (joystick && !button && !DelayReached(&joystickmove_delay, 150))
newbutton = dx = dy = 0;
if (joystick && !button && !DelayReached(&joystickmove_delay, 150))
newbutton = dx = dy = 0;