diff options
author | Colin Snover | 2016-02-18 12:10:35 -0600 |
---|---|---|
committer | Colin Snover | 2016-02-18 13:18:03 -0600 |
commit | 3e820ee9b36b1fc2cf6516d400f1433d2238082f (patch) | |
tree | 29c6aa74bfa9cec782f86290101ca2dc239cd822 /engines/sci | |
parent | 5a1fa5efa1459d7859432b21749587ef67f002d5 (diff) | |
download | scummvm-rg350-3e820ee9b36b1fc2cf6516d400f1433d2238082f.tar.gz scummvm-rg350-3e820ee9b36b1fc2cf6516d400f1433d2238082f.tar.bz2 scummvm-rg350-3e820ee9b36b1fc2cf6516d400f1433d2238082f.zip |
SCI: Fix bad positioning of relatively positioned pic cels
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/plane32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/plane32.cpp b/engines/sci/graphics/plane32.cpp index 33c01cf828..38ce78dc75 100644 --- a/engines/sci/graphics/plane32.cpp +++ b/engines/sci/graphics/plane32.cpp @@ -183,7 +183,7 @@ void Plane::addPicInternal(const GuiResourceId pictureId, const Common::Point *p screenItem->_priority = celObj->_priority; screenItem->_fixPriority = true; if (position != nullptr) { - screenItem->_position = *position; + screenItem->_position = *position + celObj->_relativePosition; } else { screenItem->_position = celObj->_relativePosition; } |