aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-10-14 10:54:59 -0400
committerMatthew Hoops2011-10-14 10:54:59 -0400
commitc9f31d3c6ebe2776b117472d9e9603d70947d76f (patch)
tree35988665b2d84d94f85c7c7bfc9b08c47c461fe0
parent753006ae1a89d2e54477e3782e72c187d90d4083 (diff)
downloadscummvm-rg350-c9f31d3c6ebe2776b117472d9e9603d70947d76f.tar.gz
scummvm-rg350-c9f31d3c6ebe2776b117472d9e9603d70947d76f.tar.bz2
scummvm-rg350-c9f31d3c6ebe2776b117472d9e9603d70947d76f.zip
PEGASUS: Fix drawing WSC molecules
-rwxr-xr-xengines/pegasus/neighborhood/wsc/moleculebin.cpp2
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);