diff options
author | Martin Kiewitz | 2010-01-11 20:31:12 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-11 20:31:12 +0000 |
commit | 3145ee5379044785fde3bc897b46f236d5797be9 (patch) | |
tree | 0ff2dae7170677a317b149f23c610f0b70442399 /engines/sci/graphics/view.cpp | |
parent | 59d4f14f391f7b7301e800b27750a3fc61212134 (diff) | |
download | scummvm-rg350-3145ee5379044785fde3bc897b46f236d5797be9.tar.gz scummvm-rg350-3145ee5379044785fde3bc897b46f236d5797be9.tar.bz2 scummvm-rg350-3145ee5379044785fde3bc897b46f236d5797be9.zip |
SCI: changed displaceY and displaceX for cels to int16, also inserted cast to signed char for sci1 displaceX - should fix wii flickering and incorrect cel placement problems
svn-id: r47257
Diffstat (limited to 'engines/sci/graphics/view.cpp')
-rw-r--r-- | engines/sci/graphics/view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp index b93258489d..ffa97adb62 100644 --- a/engines/sci/graphics/view.cpp +++ b/engines/sci/graphics/view.cpp @@ -143,7 +143,7 @@ void View::initData(GuiResourceId resourceId) { cel = &_loop[loopNo].cel[celNo]; cel->width = READ_LE_UINT16(celData); cel->height = READ_LE_UINT16(celData + 2); - cel->displaceX = celData[4]; + cel->displaceX = (signed char)celData[4]; cel->displaceY = celData[5]; cel->clearKey = celData[6]; if (isEGA) { |