diff options
author | Filippos Karapetis | 2016-03-15 21:05:01 +0200 |
---|---|---|
committer | Filippos Karapetis | 2016-03-15 21:06:46 +0200 |
commit | be58e5bc308c7364d971039d54e357b1ee3ed4ea (patch) | |
tree | 55570529f377e0bc963a17f87a898e7a406688c8 /engines/sci/graphics/celobj32.cpp | |
parent | d61dd0f52601ba296678493f46b3cf5a6437190b (diff) | |
download | scummvm-rg350-be58e5bc308c7364d971039d54e357b1ee3ed4ea.tar.gz scummvm-rg350-be58e5bc308c7364d971039d54e357b1ee3ed4ea.tar.bz2 scummvm-rg350-be58e5bc308c7364d971039d54e357b1ee3ed4ea.zip |
SCI32: More work on remapping
Still not working
Diffstat (limited to 'engines/sci/graphics/celobj32.cpp')
-rw-r--r-- | engines/sci/graphics/celobj32.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/graphics/celobj32.cpp b/engines/sci/graphics/celobj32.cpp index e9833c517b..eb71a45734 100644 --- a/engines/sci/graphics/celobj32.cpp +++ b/engines/sci/graphics/celobj32.cpp @@ -27,6 +27,7 @@ #include "sci/graphics/frameout.h" #include "sci/graphics/palette32.h" #include "sci/graphics/picture.h" +#include "sci/graphics/remap.h" #include "sci/graphics/text32.h" #include "sci/graphics/view.h" @@ -381,7 +382,7 @@ void CelObj::draw(Buffer &target, const ScreenItem &screenItem, const Common::Re // NOTE: In the original code this check was `g_Remap_numActiveRemaps && _remap`, // but since we are already in a `_remap` branch, there is no reason to check it // again - if (/* TODO: g_Remap_numActiveRemaps */ false) { + if (g_sci->_gfxRemap32->getRemapCount()) { if (scaleX.isOne() && scaleY.isOne()) { if (_compressionType == kCelCompressionNone) { if (_drawMirrored) { |