diff options
author | Filippos Karapetis | 2015-06-07 21:07:00 +0300 |
---|---|---|
committer | Filippos Karapetis | 2015-06-07 21:07:00 +0300 |
commit | be46bfd1f9eea2d74bb8dfe41841c4bfd9519a5d (patch) | |
tree | 8a58a5d3fb78e9a53a7e27fdec3754538a7a0be0 /engines/sherlock/scalpel | |
parent | dc43979a9c73e7f93733d050716b8afd02a1741c (diff) | |
download | scummvm-rg350-be46bfd1f9eea2d74bb8dfe41841c4bfd9519a5d.tar.gz scummvm-rg350-be46bfd1f9eea2d74bb8dfe41841c4bfd9519a5d.tar.bz2 scummvm-rg350-be46bfd1f9eea2d74bb8dfe41841c4bfd9519a5d.zip |
SHERLOCK: Adapt more code to use FIXED_INT_MULTIPLIER
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_talk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel_talk.cpp b/engines/sherlock/scalpel/scalpel_talk.cpp index 2d9db77552..23937decd5 100644 --- a/engines/sherlock/scalpel/scalpel_talk.cpp +++ b/engines/sherlock/scalpel/scalpel_talk.cpp @@ -296,8 +296,8 @@ OpcodeReturn ScalpelTalk::cmdGotoScene(const byte *&str) { if (scene._goToScene != 100) { // Not going to the map overview map._oldCharPoint = scene._goToScene; - map._overPos.x = map[scene._goToScene].x * 100 - 600; - map._overPos.y = map[scene._goToScene].y * 100 + 900; + map._overPos.x = (map[scene._goToScene].x - 6) * FIXED_INT_MULTIPLIER; + map._overPos.y = (map[scene._goToScene].y + 9) * FIXED_INT_MULTIPLIER; // Run a canimation? if (str[2] > 100) { |