aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-06-26 23:04:46 +0000
committerWillem Jan Palenstijn2009-06-26 23:04:46 +0000
commitfe65f6163c88b77a5997d47eff842b78812085be (patch)
tree16b2be00ca0d452f7c0e10c015f022fd44f3a0e3
parent70c9731810b28e910270429b2e5d16e2fe92f604 (diff)
downloadscummvm-rg350-fe65f6163c88b77a5997d47eff842b78812085be.tar.gz
scummvm-rg350-fe65f6163c88b77a5997d47eff842b78812085be.tar.bz2
scummvm-rg350-fe65f6163c88b77a5997d47eff842b78812085be.zip
SCI: Fix typo breaking in-engine scaling
svn-id: r41905
-rw-r--r--engines/sci/gfx/operations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp
index 56a8b8336b..a730717ef8 100644
--- a/engines/sci/gfx/operations.cpp
+++ b/engines/sci/gfx/operations.cpp
@@ -1789,7 +1789,7 @@ int gfxop_new_pic(GfxState *state, int nr, int flags, int default_palette) {
if (state->driver->getMode()->xfact == 1 && state->driver->getMode()->yfact == 1) {
state->pic_unscaled = state->pic;
} else {
- state->pic = state->gfxResMan->getPic(nr, GFX_MASK_VISUAL, flags, default_palette, false);
+ state->pic_unscaled = state->gfxResMan->getPic(nr, GFX_MASK_VISUAL, flags, default_palette, false);
}
if (!state->pic || !state->pic_unscaled) {