aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw_v2.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2009-06-04 09:48:56 +0000
committerArnaud Boutonné2009-06-04 09:48:56 +0000
commit85950d6f6b25421c86ab79eea0c4cf96f6feb720 (patch)
treed78b0179e8e832585242d6bdde8bfffb7dd563c0 /engines/gob/draw_v2.cpp
parent929ef3e4a8eaf83e5fda75fb1047feb6647e7799 (diff)
downloadscummvm-rg350-85950d6f6b25421c86ab79eea0c4cf96f6feb720.tar.gz
scummvm-rg350-85950d6f6b25421c86ab79eea0c4cf96f6feb720.tar.bz2
scummvm-rg350-85950d6f6b25421c86ab79eea0c4cf96f6feb720.zip
gob : _spriteBottom incorrectly saved and restored in Draw_v2::spriteOperation
svn-id: r41160
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r--engines/gob/draw_v2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp
index 5e307d760e..852e0b51fb 100644
--- a/engines/gob/draw_v2.cpp
+++ b/engines/gob/draw_v2.cpp
@@ -649,7 +649,7 @@ void Draw_v2::spriteOperation(int16 operation) {
int16 spriteLeft = _spriteLeft;
int16 spriteTop = _spriteTop;
int16 spriteRight = _spriteRight;
- int16 spriteBottom = _spriteLeft;
+ int16 spriteBottom = _spriteBottom;
int16 destSpriteX = _destSpriteX;
int16 destSpriteY = _destSpriteY;
int16 destSurface = _destSurface;
@@ -913,7 +913,7 @@ void Draw_v2::spriteOperation(int16 operation) {
_spriteLeft = spriteLeft;
_spriteTop = spriteTop;
_spriteRight = spriteRight;
- _spriteLeft = spriteBottom;
+ _spriteBottom = spriteBottom;
_destSpriteX = destSpriteX;
_destSpriteY = destSpriteY;
_destSurface = destSurface;