SCI: adding displaceY adjust for sci1.1 views
sierra sci did this in their getCelRect(), we are doing it while loading, fixes laura bow not appearing in taxi (bug #3041220) svn-id: r51955
This commit is contained in:
parent
a201b2e506
commit
9be20d5f0a
1 changed files with 2 additions and 0 deletions
|
@ -256,6 +256,8 @@ void GfxView::initData(GuiResourceId resourceId) {
|
|||
cel->scriptHeight = cel->height = READ_SCI11ENDIAN_UINT16(celData + 2);
|
||||
cel->displaceX = READ_SCI11ENDIAN_UINT16(celData + 4);
|
||||
cel->displaceY = READ_SCI11ENDIAN_UINT16(celData + 6);
|
||||
if (cel->displaceY < 0)
|
||||
cel->displaceY += 255; // sierra did this adjust in their getCelRect()
|
||||
|
||||
assert(cel->width && cel->height);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue