diff options
author | Scott Thomas | 2011-04-15 21:40:51 +0930 |
---|---|---|
committer | Scott Thomas | 2011-04-15 21:46:06 +0930 |
commit | 8e9dbe5c3dfde9e180cd1008cb888618f77c64fa (patch) | |
tree | 17add1befb181d93413769ac4688ce7befac9bf5 /engines/groovie/script.cpp | |
parent | 20e662e5a6a01930f773878b22a2a2be38b2ee67 (diff) | |
download | scummvm-rg350-8e9dbe5c3dfde9e180cd1008cb888618f77c64fa.tar.gz scummvm-rg350-8e9dbe5c3dfde9e180cd1008cb888618f77c64fa.tar.bz2 scummvm-rg350-8e9dbe5c3dfde9e180cd1008cb888618f77c64fa.zip |
GROOVIE: Use uint32 when searching for a video id by name
This brings ResMan::getRef into line with the rest of the engine.
Diffstat (limited to 'engines/groovie/script.cpp')
-rw-r--r-- | engines/groovie/script.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp index 175a41b1de..9b58f8bd5a 100644 --- a/engines/groovie/script.cpp +++ b/engines/groovie/script.cpp @@ -320,7 +320,7 @@ uint8 Script::readScriptChar(bool allow7C, bool limitVal, bool limitVar) { return result; } -uint16 Script::getVideoRefString() { +uint32 Script::getVideoRefString() { Common::String str; byte c; @@ -1015,7 +1015,7 @@ void Script::o_add() { void Script::o_videofromstring1() { uint16 instStart = _currentInstruction; - uint16 fileref = getVideoRefString(); + uint32 fileref = getVideoRefString(); // Show the debug information just when starting the playback if (fileref != _videoRef) { @@ -1031,7 +1031,7 @@ void Script::o_videofromstring1() { void Script::o_videofromstring2() { uint16 instStart = _currentInstruction; - uint16 fileref = getVideoRefString(); + uint32 fileref = getVideoRefString(); // Show the debug information just when starting the playback if (fileref != _videoRef) { |