From 8e9dbe5c3dfde9e180cd1008cb888618f77c64fa Mon Sep 17 00:00:00 2001 From: Scott Thomas Date: Fri, 15 Apr 2011 21:40:51 +0930 Subject: GROOVIE: Use uint32 when searching for a video id by name This brings ResMan::getRef into line with the rest of the engine. --- engines/groovie/script.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/groovie/script.cpp') 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) { -- cgit v1.2.3