diff options
author | Matthew Hoops | 2010-11-22 18:09:31 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-11-22 18:09:31 +0000 |
commit | 26bf0e8176f9082228021ba1a5b28c39dd3b6768 (patch) | |
tree | 1204e30f82e62698987f0b5dfdb2148ff3d79058 | |
parent | cb843daec0e87747350c4432d9c4111b894c04b5 (diff) | |
download | scummvm-rg350-26bf0e8176f9082228021ba1a5b28c39dd3b6768.tar.gz scummvm-rg350-26bf0e8176f9082228021ba1a5b28c39dd3b6768.tar.bz2 scummvm-rg350-26bf0e8176f9082228021ba1a5b28c39dd3b6768.zip |
MOHAWK: Fix a typo fail (thanks, fuzzie)
svn-id: r54419
-rw-r--r-- | engines/mohawk/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp index 2b2bbd8f2c..02cc0629cd 100644 --- a/engines/mohawk/graphics.cpp +++ b/engines/mohawk/graphics.cpp @@ -800,12 +800,12 @@ Graphics::Surface *LBGraphics::decodeImage(uint16 id) { return surface; } -void LBGraphics::copyImageToScreen(uint16 image, uint16 left, uint16 right) { +void LBGraphics::copyImageToScreen(uint16 image, uint16 left, uint16 top) { Graphics::Surface *surface = findImage(image); uint16 width = MIN<int>(surface->w, _vm->_system->getWidth()); uint16 height = MIN<int>(surface->h, _vm->_system->getHeight()); - _vm->_system->copyRectToScreen((byte *)surface->pixels, surface->pitch, left, right, width, height); + _vm->_system->copyRectToScreen((byte *)surface->pixels, surface->pitch, left, top, width, height); // FIXME: Remove this and update only when necessary _vm->_system->updateScreen(); |