projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with copying bitmaps when remapping 'global.door' graphics
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index b563b9318c16a897fd2700442b0e1c5bfa034285..611fe20050ef56e228f731deb0fe476cdb743195 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-3685,7
+3685,10
@@
static int RequestHandleEvents(unsigned int req_state)
}
case EVENT_KEYPRESS:
}
case EVENT_KEYPRESS:
- switch (GetEventKey((KeyEvent *)&event, TRUE))
+ {
+ Key key = GetEventKey((KeyEvent *)&event, TRUE);
+
+ switch (key)
{
case KSYM_space:
if (req_state & REQ_CONFIRM)
{
case KSYM_space:
if (req_state & REQ_CONFIRM)
@@
-3707,12
+3710,15
@@
static int RequestHandleEvents(unsigned int req_state)
break;
default:
break;
default:
+ HandleKeysDebug(key);
break;
}
if (req_state & REQ_PLAYER)
result = 0;
break;
}
if (req_state & REQ_PLAYER)
result = 0;
+
break;
break;
+ }
case EVENT_KEYRELEASE:
ClearPlayerAction();
case EVENT_KEYRELEASE:
ClearPlayerAction();