diff options
author | Matthew Hoops | 2011-10-14 10:54:59 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-10-14 10:54:59 -0400 |
commit | c9f31d3c6ebe2776b117472d9e9603d70947d76f (patch) | |
tree | 35988665b2d84d94f85c7c7bfc9b08c47c461fe0 | |
parent | 753006ae1a89d2e54477e3782e72c187d90d4083 (diff) | |
download | scummvm-rg350-c9f31d3c6ebe2776b117472d9e9603d70947d76f.tar.gz scummvm-rg350-c9f31d3c6ebe2776b117472d9e9603d70947d76f.tar.bz2 scummvm-rg350-c9f31d3c6ebe2776b117472d9e9603d70947d76f.zip |
PEGASUS: Fix drawing WSC molecules
-rwxr-xr-x | engines/pegasus/neighborhood/wsc/moleculebin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/neighborhood/wsc/moleculebin.cpp b/engines/pegasus/neighborhood/wsc/moleculebin.cpp index 87850055d7..429902d641 100755 --- a/engines/pegasus/neighborhood/wsc/moleculebin.cpp +++ b/engines/pegasus/neighborhood/wsc/moleculebin.cpp @@ -106,7 +106,7 @@ void MoleculeBin::draw(const Common::Rect &) { if (_moleculeFlags.getFlag(_binLayout[i])) r1.translate(kMoleculeWidth, 0); - r1.moveTo((_binLayout[i] & 1) * (kMoleculeWidth + 2) + _bounds.left + 2, + r2.moveTo((_binLayout[i] & 1) * (kMoleculeWidth + 2) + _bounds.left + 2, (_binLayout[i] >> 1) * (kMoleculeHeight + 2) + _bounds.top + 2); _binImages.copyToCurrentPort(r1, r2); |