aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBastien Bouclet2017-11-21 19:40:26 +0100
committerBastien Bouclet2017-11-21 19:43:28 +0100
commit694990e712598fa6e13d78e234dc5c60e326fb8f (patch)
treefdced6bdc4930f145a01bc700f1336c6eaf5336e /engines
parent6fe801e3cd5826195c2f8731e7e78bdf04074bfc (diff)
downloadscummvm-rg350-694990e712598fa6e13d78e234dc5c60e326fb8f.tar.gz
scummvm-rg350-694990e712598fa6e13d78e234dc5c60e326fb8f.tar.bz2
scummvm-rg350-694990e712598fa6e13d78e234dc5c60e326fb8f.zip
FULLPIPE: Fix big picture array indexing
Fixes #10322.
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h
index a7c0c765e2..a2c83c8131 100644
--- a/engines/fullpipe/gfx.h
+++ b/engines/fullpipe/gfx.h
@@ -214,7 +214,7 @@ public:
virtual bool load(MfcArchive &file);
void addPictureObject(PictureObject *pct);
- BigPicture *getBigPicture(int x, int y) { return _bigPictureArray[y * _bigPictureYDim + x]; }
+ BigPicture *getBigPicture(int x, int y) { return _bigPictureArray[y * _bigPictureXDim + x]; }
};
struct ShadowsItem {