From c9f31d3c6ebe2776b117472d9e9603d70947d76f Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Fri, 14 Oct 2011 10:54:59 -0400 Subject: PEGASUS: Fix drawing WSC molecules --- engines/pegasus/neighborhood/wsc/moleculebin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3