aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/vmenu.cpp
diff options
context:
space:
mode:
authorStrangerke2012-07-04 23:18:29 +0200
committerStrangerke2012-07-05 21:31:42 +0200
commitb1cc34a080ff31fb22ab466624a99c0cdaeb51c1 (patch)
tree552f5fb61662d7679ae420aebe92e01ae6806e6b /engines/cge/vmenu.cpp
parent112f03390d308af60d9c5f5e9f29c30988d2e968 (diff)
downloadscummvm-rg350-b1cc34a080ff31fb22ab466624a99c0cdaeb51c1.tar.gz
scummvm-rg350-b1cc34a080ff31fb22ab466624a99c0cdaeb51c1.tar.bz2
scummvm-rg350-b1cc34a080ff31fb22ab466624a99c0cdaeb51c1.zip
CGE: Remove hack used to store keycode in CGEEvent
Diffstat (limited to 'engines/cge/vmenu.cpp')
-rw-r--r--engines/cge/vmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge/vmenu.cpp b/engines/cge/vmenu.cpp
index a317a765d4..84b557f4a6 100644
--- a/engines/cge/vmenu.cpp
+++ b/engines/cge/vmenu.cpp
@@ -89,11 +89,11 @@ Vmenu::~Vmenu() {
#define CALL_MEMBER_FN(object,ptrToMember) ((object).*(ptrToMember))
-void Vmenu::touch(uint16 mask, int x, int y) {
+void Vmenu::touch(uint16 mask, int x, int y, Common::KeyCode keyCode) {
if (!_items)
return;
- Sprite::touch(mask, x, y);
+ Sprite::touch(mask, x, y, keyCode);
y -= kTextVMargin - 1;
int n = 0;