diff options
Diffstat (limited to 'engines/sci')
| -rw-r--r-- | engines/sci/graphics/celobj32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/celobj32.cpp b/engines/sci/graphics/celobj32.cpp index f8bce26a2c..62db02b554 100644 --- a/engines/sci/graphics/celobj32.cpp +++ b/engines/sci/graphics/celobj32.cpp @@ -109,8 +109,8 @@ struct SCALER_NoScale { const int16 _lastIndex; SCALER_NoScale(const CelObj &celObj, const int16 maxWidth) : - _reader(celObj, maxWidth), - _lastIndex(maxWidth - 1) {} + _reader(celObj, FLIP ? celObj._width : maxWidth), + _lastIndex(celObj._width - 1) {} inline void setSource(const int16 x, const int16 y) { _row = _reader.getRow(y); |
