aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins
diff options
context:
space:
mode:
authorEugene Sandulenko2013-04-11 14:58:07 +0300
committerEugene Sandulenko2013-04-11 14:58:07 +0300
commit8b315aeb49086215c6c1d8307927b3c24a4a6d5a (patch)
tree76b8d9d0459efa309f467610c2a10712d335ec81 /engines/hopkins
parent54e3df0140c2d37257132dc8a62520ec8febfc36 (diff)
downloadscummvm-rg350-8b315aeb49086215c6c1d8307927b3c24a4a6d5a.tar.gz
scummvm-rg350-8b315aeb49086215c6c1d8307927b3c24a4a6d5a.tar.bz2
scummvm-rg350-8b315aeb49086215c6c1d8307927b3c24a4a6d5a.zip
HOPKINS: Fix warning
Diffstat (limited to 'engines/hopkins')
-rw-r--r--engines/hopkins/dialogs.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/hopkins/dialogs.cpp b/engines/hopkins/dialogs.cpp
index f589e7396d..5b9fb8afc2 100644
--- a/engines/hopkins/dialogs.cpp
+++ b/engines/hopkins/dialogs.cpp
@@ -691,25 +691,25 @@ void DialogsManager::showSaveLoad(SaveLoadMode mode) {
byte *thumb = (byte *)thumb8.pixels;
- int16 startPosX = _vm->_events->_startPos.x;
+ int16 startPosX_ = _vm->_events->_startPos.x;
switch (slotNumber) {
case 1:
- _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX + 190, 112, 128, 87);
+ _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX_ + 190, 112, 128, 87);
break;
case 2:
- _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX + 323, 112, 128, 87);
+ _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX_ + 323, 112, 128, 87);
break;
case 3:
- _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX + 190, 203, 128, 87);
+ _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX_ + 190, 203, 128, 87);
break;
case 4:
- _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX + 323, 203, 128, 87);
+ _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX_ + 323, 203, 128, 87);
break;
case 5:
- _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX + 190, 294, 128, 87);
+ _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX_ + 190, 294, 128, 87);
break;
case 6:
- _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX + 323, 294, 128, 87);
+ _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX_ + 323, 294, 128, 87);
break;
}