aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/drascula/drascula.cpp6
-rw-r--r--engines/drascula/drascula.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 44f377d0f1..a1e184826c 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -514,7 +514,7 @@ bucles:
else
menu_bar = 0;
- byte key = getscan();
+ Common::KeyCode key = getscan();
if (key == Common::KEYCODE_F1 && menu_scr == 0) {
elige_verbo(1);
cont_sv = 0;
@@ -1533,7 +1533,7 @@ void DrasculaEngine::comprueba2() {
}
}
-byte DrasculaEngine::getscan() {
+Common::KeyCode DrasculaEngine::getscan() {
update_events();
return _keyPressed.keycode;
@@ -3560,7 +3560,7 @@ void DrasculaEngine::cursor_mesa() {
}
void DrasculaEngine::introduce_nombre() {
- byte key;
+ Common::KeyCode key;
int v = 0, h = 0;
char select2[23];
strcpy(select2, " ");
diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h
index 91ace757c4..a5947d73e7 100644
--- a/engines/drascula/drascula.h
+++ b/engines/drascula/drascula.h
@@ -487,7 +487,7 @@ public:
void elige_en_barra();
bool comprueba1();
void comprueba2();
- byte getscan();
+ Common::KeyCode getscan();
void elige_verbo(int);
void mesa();
void saves();