aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/sword1.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword1/sword1.h')
-rw-r--r--engines/sword1/sword1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sword1/sword1.h b/engines/sword1/sword1.h
index 1ced01d6ef..7065b5498a 100644
--- a/engines/sword1/sword1.h
+++ b/engines/sword1/sword1.h
@@ -27,6 +27,7 @@
#define SWORD1_H
#include "engines/engine.h"
+#include "common/events.h"
#include "common/util.h"
#include "sword1/sworddefs.h"
@@ -92,7 +93,7 @@ private:
uint8 mainLoop(void);
uint16 _mouseX, _mouseY, _mouseState;
- uint8 _keyPressed;
+ Common::KeyState _keyPressed;
ResMan *_resMan;
ObjectMan *_objectMan;