mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 11:51:52 +00:00
SCI: translating nsRect back to actual plane coordinate
on scrollable planes svn-id: r51350
This commit is contained in:
parent
3da0c0794f
commit
4fb7b06570
@ -420,6 +420,8 @@ void GfxFrameout::kernelFrameout() {
|
||||
view->getCelScaledRect(itemEntry->loopNo, itemEntry->celNo, itemEntry->x, itemEntry->y, itemEntry->z, itemEntry->scaleX, itemEntry->scaleY, itemEntry->celRect);
|
||||
|
||||
Common::Rect nsRect = itemEntry->celRect;
|
||||
// Translate back to actual coordinate within scrollable plane
|
||||
nsRect.translate(planeOffsetX, 0);
|
||||
switch (getSciVersion()) {
|
||||
case SCI_VERSION_2:
|
||||
if (view->isSci2Hires()) {
|
||||
|
Loading…
Reference in New Issue
Block a user