aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/prince/script.cpp')
-rw-r--r--engines/prince/script.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/prince/script.cpp b/engines/prince/script.cpp
index 2ca18746de..fba021d0f5 100644
--- a/engines/prince/script.cpp
+++ b/engines/prince/script.cpp
@@ -451,12 +451,12 @@ void InterpreterFlags::resetAllFlags() {
memset(_flags, 0, sizeof(_flags));
}
-void InterpreterFlags::setFlagValue(Flags::Id flagId, uint16 value) {
- _flags[(uint16)flagId - FLAG_MASK] = value;
+void InterpreterFlags::setFlagValue(Flags::Id flagId, uint32 value) {
+ _flags[(uint32)flagId - FLAG_MASK] = value;
}
-uint16 InterpreterFlags::getFlagValue(Flags::Id flagId) {
- return _flags[(uint16)flagId - FLAG_MASK];
+uint32 InterpreterFlags::getFlagValue(Flags::Id flagId) {
+ return _flags[(uint32)flagId - FLAG_MASK];
}
Interpreter::Interpreter(PrinceEngine *vm, Script *script, InterpreterFlags *flags) :