aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/script_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/script_manager.h')
-rw-r--r--engines/zvision/script_manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/script_manager.h b/engines/zvision/script_manager.h
index 07c09c513e..487a27cf05 100644
--- a/engines/zvision/script_manager.h
+++ b/engines/zvision/script_manager.h
@@ -109,7 +109,7 @@ struct Location {
typedef Common::List<Puzzle *> PuzzleList;
typedef Common::Queue<Puzzle *> PuzzleQueue;
typedef Common::List<Control *> ControlList;
-typedef Common::HashMap<uint32, uint32> StateMap;
+typedef Common::HashMap<uint32, int32> StateMap;
typedef Common::List<SideFX *> SideFXList;
class ScriptManager {
@@ -170,8 +170,8 @@ public:
void update(uint deltaTimeMillis);
void queuePuzzles(uint32 key);
- uint getStateValue(uint32 key);
- void setStateValue(uint32 key, uint value);
+ int getStateValue(uint32 key);
+ void setStateValue(uint32 key, int value);
uint getStateFlag(uint32 key);
void setStateFlag(uint32 key, uint value);