diff options
author | Strangerke | 2013-02-22 19:23:21 +0100 |
---|---|---|
committer | Strangerke | 2013-02-22 19:23:21 +0100 |
commit | 5297f6370749dfaff9b6b80ea9f10b855cd1b58f (patch) | |
tree | 68414532c8884dd18ee83f89041b0a9f9a72e874 /engines/hopkins/lines.cpp | |
parent | 29c664a6966cd333862f2d1d3cd09a182be7f985 (diff) | |
download | scummvm-rg350-5297f6370749dfaff9b6b80ea9f10b855cd1b58f.tar.gz scummvm-rg350-5297f6370749dfaff9b6b80ea9f10b855cd1b58f.tar.bz2 scummvm-rg350-5297f6370749dfaff9b6b80ea9f10b855cd1b58f.zip |
HOPKINS: Fix the crash related to the missing speech file in the Win95 English demo
Diffstat (limited to 'engines/hopkins/lines.cpp')
-rw-r--r-- | engines/hopkins/lines.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hopkins/lines.cpp b/engines/hopkins/lines.cpp index 77b9d4b6cd..ebf48a7d21 100644 --- a/engines/hopkins/lines.cpp +++ b/engines/hopkins/lines.cpp @@ -153,6 +153,7 @@ int LinesManager::checkInventoryHotspots(int posX, int posY) { */ int LinesManager::checkInventoryHotspotsRow(int posX, int minZoneNum, bool lastRow) { int result = minZoneNum; + if (posX >= _vm->_graphicsManager._scrollOffset + 158 && posX < _vm->_graphicsManager._scrollOffset + 208) return result; |