aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-02-25 17:36:38 +0000
committerWillem Jan Palenstijn2009-02-25 17:36:38 +0000
commit98a7ba4ec3899e7d6b154169a39427a998c4758c (patch)
treee559828b167001a4a17481ee47a3418fe62d6855 /engines/sci
parent301e9d73d1ccd28803f8f74a1a185e76c3e84f6b (diff)
downloadscummvm-rg350-98a7ba4ec3899e7d6b154169a39427a998c4758c.tar.gz
scummvm-rg350-98a7ba4ec3899e7d6b154169a39427a998c4758c.tar.bz2
scummvm-rg350-98a7ba4ec3899e7d6b154169a39427a998c4758c.zip
Don't truncate keycode in queued events.
svn-id: r38878
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/gfx/operations.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp
index e02b5ffed0..80bf9b6c60 100644
--- a/engines/sci/gfx/operations.cpp
+++ b/engines/sci/gfx/operations.cpp
@@ -1641,9 +1641,6 @@ sci_event_t gfxop_get_event(gfx_state_t *state, unsigned int mask) {
*seekerp = (gfx_input_event_t *)sci_malloc(sizeof(gfx_input_event_t));
(*seekerp)->next = NULL;
- event.data = (char)(event.data);
- // Clip illegal bits
-
(*seekerp)->event = event;
seekerp = &((*seekerp)->next);
}