aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins
diff options
context:
space:
mode:
authorStrangerke2013-01-17 19:04:44 +0100
committerStrangerke2013-01-17 19:04:44 +0100
commit8a41d3c1fcacc21355f9dadb99eabf2a1cbb9c64 (patch)
tree9c8b4214cb0dbc1c2e0fa4ed76f95c57a85eca50 /engines/hopkins
parentd90720dee11e9814092dab31486fcb74398c688e (diff)
downloadscummvm-rg350-8a41d3c1fcacc21355f9dadb99eabf2a1cbb9c64.tar.gz
scummvm-rg350-8a41d3c1fcacc21355f9dadb99eabf2a1cbb9c64.tar.bz2
scummvm-rg350-8a41d3c1fcacc21355f9dadb99eabf2a1cbb9c64.zip
HOPKINS: (on behalf of fuzzie) Fix zoom bug introduced in 1c5a6f8c74a794e9a913c9b2c0bebfd59ac0fd9e
Diffstat (limited to 'engines/hopkins')
-rw-r--r--engines/hopkins/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/script.cpp b/engines/hopkins/script.cpp
index 86c86339e5..69af1cc318 100644
--- a/engines/hopkins/script.cpp
+++ b/engines/hopkins/script.cpp
@@ -2209,7 +2209,7 @@ int ScriptManager::handleOpcode(byte *dataP) {
int v54 = _vm->_globals.STAILLE[790 / 2];
if (_vm->_globals.STAILLE[790 / 2] < 0)
v54 = -_vm->_globals.STAILLE[790 / 2];
- v53->field4 = 242 - (100 * (67 - (100 - v54)) / 67);
+ v53->field4 = -(100 * (67 - (100 - v54)) / 67);
_vm->_globals._saveData->data[svField357] = 1;
_vm->_globals._saveData->data[svField354] = 0;
_vm->_globals._saveData->data[svField356] = 0;