diff options
author | Travis Howell | 2006-04-24 07:45:57 +0000 |
---|---|---|
committer | Travis Howell | 2006-04-24 07:45:57 +0000 |
commit | 9743de2acf3c8824e5fe5c53c0c47ea14aedb20a (patch) | |
tree | 534bbfadd034b6a2aa2245cd15bf391a76b208b0 /engines | |
parent | 05e01f011fe88034150128cd2b83f6286ffc823f (diff) | |
download | scummvm-rg350-9743de2acf3c8824e5fe5c53c0c47ea14aedb20a.tar.gz scummvm-rg350-9743de2acf3c8824e5fe5c53c0c47ea14aedb20a.tar.bz2 scummvm-rg350-9743de2acf3c8824e5fe5c53c0c47ea14aedb20a.zip |
vcReadVar() should return a signed value
svn-id: r22135
Diffstat (limited to 'engines')
-rw-r--r-- | engines/simon/vga.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp index b7a94fa551..6c4c4b6c35 100644 --- a/engines/simon/vga.cpp +++ b/engines/simon/vga.cpp @@ -172,7 +172,7 @@ uint SimonEngine::vcReadNextByte() { uint SimonEngine::vcReadVar(uint var) { assert(var < 255); - return (uint16)_variableArrayPtr[var]; + return _variableArrayPtr[var]; } void SimonEngine::vcWriteVar(uint var, int16 value) { |