aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/celobj32.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2016-03-15 21:05:01 +0200
committerFilippos Karapetis2016-03-15 21:06:46 +0200
commitbe58e5bc308c7364d971039d54e357b1ee3ed4ea (patch)
tree55570529f377e0bc963a17f87a898e7a406688c8 /engines/sci/graphics/celobj32.cpp
parentd61dd0f52601ba296678493f46b3cf5a6437190b (diff)
downloadscummvm-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.cpp3
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) {