diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/actions.cpp | 8 | ||||
-rw-r--r-- | engines/zvision/actions.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/zvision/actions.cpp b/engines/zvision/actions.cpp index 1d4ce9c604..21c01546fd 100644 --- a/engines/zvision/actions.cpp +++ b/engines/zvision/actions.cpp @@ -321,10 +321,10 @@ ActionSetPartialScreen::ActionSetPartialScreen(const Common::String &line) { bool ActionSetPartialScreen::execute(ZVision *engine) { RenderManager *renderManager = engine->getRenderManager(); - if (_backgroundColor > 0) { - renderManager->clearWorkingWindowTo555Color(_backgroundColor); - } - renderManager->renderImageToScreen(_fileName, _x, _y); + if (_backgroundColor >= 0) + renderManager->renderImageToBackground(_fileName, _x, _y, _backgroundColor); + else + renderManager->renderImageToBackground(_fileName, _x, _y); return true; } diff --git a/engines/zvision/actions.h b/engines/zvision/actions.h index e7a4ea302f..15923d66d1 100644 --- a/engines/zvision/actions.h +++ b/engines/zvision/actions.h @@ -300,7 +300,7 @@ private: uint _x; uint _y; Common::String _fileName; - uint16 _backgroundColor; + int32 _backgroundColor; }; class ActionSetScreen : public ResultAction { |