diff options
author | lukaslw | 2014-07-30 19:54:39 +0200 |
---|---|---|
committer | lukaslw | 2014-07-30 19:54:39 +0200 |
commit | 93a552c26d2323321356ddb9cdd3400769100617 (patch) | |
tree | cd6a1af9d04a1eb94fe2e9140837f1237d4d8aa6 /engines/prince/script.h | |
parent | 956b98903fe704f0388538741c539567476bd745 (diff) | |
download | scummvm-rg350-93a552c26d2323321356ddb9cdd3400769100617.tar.gz scummvm-rg350-93a552c26d2323321356ddb9cdd3400769100617.tar.bz2 scummvm-rg350-93a552c26d2323321356ddb9cdd3400769100617.zip |
PRINCE: Skull mini-game fix
Diffstat (limited to 'engines/prince/script.h')
-rw-r--r-- | engines/prince/script.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/prince/script.h b/engines/prince/script.h index 6ebef3d94b..57f9268598 100644 --- a/engines/prince/script.h +++ b/engines/prince/script.h @@ -175,8 +175,8 @@ class InterpreterFlags { public: InterpreterFlags(); - void setFlagValue(Flags::Id flag, uint32 value); - uint32 getFlagValue(Flags::Id flag); + void setFlagValue(Flags::Id flag, int32 value); + int32 getFlagValue(Flags::Id flag); void resetAllFlags(); @@ -243,7 +243,7 @@ private: // Helper functions uint32 step(uint32 opcodePC); - uint16 readScriptFlagValue(); + int16 readScriptFlagValue(); Flags::Id readScriptFlagId(); int checkSeq(byte *string); |