aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/global.cpp')
-rw-r--r--engines/gob/global.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/gob/global.cpp b/engines/gob/global.cpp
index 0d732e1f2a..cceb0c7bed 100644
--- a/engines/gob/global.cpp
+++ b/engines/gob/global.cpp
@@ -147,6 +147,9 @@ Global::Global(GobEngine *vm) : _vm(vm) {
_inter_mouseX = 0;
_inter_mouseY = 0;
+
+ for (i = 0; i < 128; i++)
+ _pressedKeys[i] = 0;
}
} // End of namespace Gob