aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/celobj32.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/graphics/celobj32.cpp b/engines/sci/graphics/celobj32.cpp
index e0f5668206..07bac742ba 100644
--- a/engines/sci/graphics/celobj32.cpp
+++ b/engines/sci/graphics/celobj32.cpp
@@ -51,11 +51,13 @@ void CelScaler::activateScaleTables(const Ratio &scaleX, const Ratio &scaleY) {
if (table.scaleX != scaleX) {
assert(screenWidth <= ARRAYSIZE(table.valuesX));
buildLookupTable(table.valuesX, scaleX, screenWidth);
+ table.scaleX = scaleX;
}
if (table.scaleY != scaleY) {
assert(screenHeight <= ARRAYSIZE(table.valuesY));
buildLookupTable(table.valuesY, scaleY, screenHeight);
+ table.scaleY = scaleY;
}
}