Skip to content

Commit

Permalink
FULLPIPE: Fix big picture array indexing
Browse files Browse the repository at this point in the history
Fixes #10322.
  • Loading branch information
bgK committed Nov 21, 2017
1 parent 6fe801e commit 694990e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/fullpipe/gfx.h
Expand Up @@ -214,7 +214,7 @@ class Background : public CObject {
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 {
Expand Down

0 comments on commit 694990e

Please sign in to comment.