diff options
Diffstat (limited to 'scumm/input.cpp')
-rw-r--r-- | scumm/input.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/input.cpp b/scumm/input.cpp index f68745ef47..d7d1f1c25c 100644 --- a/scumm/input.cpp +++ b/scumm/input.cpp @@ -130,6 +130,12 @@ void ScummEngine::parseEvents() { case OSystem::EVENT_MOUSEMOVE: _mouse.x = event.mouse.x; _mouse.y = event.mouse.y; + + if (_renderMode == Common::kRenderHerc) { + _mouse.x -= (Common::kHercW - _screenWidth * 2) / 2; + _mouse.x /= 2; + _mouse.y = _mouse.y * 4 / 7; + } break; case OSystem::EVENT_LBUTTONDOWN: |