diff options
author | Matthew Hoops | 2011-09-30 12:31:41 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-09-30 12:35:06 -0400 |
commit | b5af4bfc76eca31c1c784e944471dbdb2e4b0d1a (patch) | |
tree | 56efdc7c845a0e91e8f7ebe3bc4ad8b98c4832a3 /engines | |
parent | ec67dfae307736a4001bc76a64db47cc7e34f68f (diff) | |
download | scummvm-rg350-b5af4bfc76eca31c1c784e944471dbdb2e4b0d1a.tar.gz scummvm-rg350-b5af4bfc76eca31c1c784e944471dbdb2e4b0d1a.tar.bz2 scummvm-rg350-b5af4bfc76eca31c1c784e944471dbdb2e4b0d1a.zip |
PEGASUS: Fix typos in autoDragItemIntoInventory/Room
Diffstat (limited to 'engines')
-rw-r--r-- | engines/pegasus/pegasus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp index 5fda8ccad4..5c25be2cfa 100644 --- a/engines/pegasus/pegasus.cpp +++ b/engines/pegasus/pegasus.cpp @@ -1795,7 +1795,7 @@ void PegasusEngine::autoDragItemIntoRoom(Item *item, Sprite *draggingSprite) { stop.y -= bounds.height() >> 1; int dx = ABS(stop.x - start.x); - int dy = ABS(stop.y = start.y); + int dy = ABS(stop.y - start.y); TimeValue time = MAX(dx, dy); allowInput(false); @@ -1828,7 +1828,7 @@ void PegasusEngine::autoDragItemIntoInventory(Item *, Sprite *draggingSprite) { Common::Point stop((76 + 172 - r.width()) / 2, 334 - (2 * r.height() / 3)); int dx = ABS(stop.x - start.x); - int dy = ABS(stop.y = start.y); + int dy = ABS(stop.y - start.y); TimeValue time = MAX(dx, dy); allowInput(false); |