diff options
author | James Brown | 2003-07-12 09:45:10 +0000 |
---|---|---|
committer | James Brown | 2003-07-12 09:45:10 +0000 |
commit | dabe8799a126362b6a59514252600b022729cae7 (patch) | |
tree | b0cf7558685d5c4d8861be4504206ab651be2b12 | |
parent | d71b335259a58e13c0975de292b84cc3371b8ee5 (diff) | |
download | scummvm-rg350-dabe8799a126362b6a59514252600b022729cae7.tar.gz scummvm-rg350-dabe8799a126362b6a59514252600b022729cae7.tar.bz2 scummvm-rg350-dabe8799a126362b6a59514252600b022729cae7.zip |
Fix for bug 769896, update README a little
svn-id: r8935
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | scumm/verbs.cpp | 6 |
2 files changed, 10 insertions, 1 deletions
@@ -53,6 +53,7 @@ SCUMM Games: Day of the Tentacle [Game: tentacle] Sam & Max [Game: samnmax] The Dig [Game: dig] + Curse of Monkey Island [Game: comi] Other Games: Beneath a Steel Sky [Game: sky] @@ -66,7 +67,6 @@ prevent them from being fully supported at this time. Please do not file bug reports about them. Full Throttle [Game: ft] - Curse of Monkey Island [Game: comi] The following games should load, but are not yet fully playable. Play these at your own risk, and please do not file bug reports about them. If you want @@ -192,6 +192,9 @@ the section on Reporting Bugs. - F10 key animation in simon2mac is different compared to original game + Curse of Monkey Island + - The "Pirate Song" scene does not play correctly + - All CD games: - If you are experiencing random crashes, and your game plays music from CD, you have encountered a Windows bug. diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp index ea9d361e81..9f31bd33f9 100644 --- a/scumm/verbs.cpp +++ b/scumm/verbs.cpp @@ -150,12 +150,18 @@ void Scumm::checkV2MouseOver(ScummVM::Point pos) { void Scumm::checkV2Inventory(int x, int y) { int object = 0; + static int egoVar; y -= virtscr[2].topline; if ((y < 34) || !(_mouseButStat & MBS_LEFT_CLICK)) return; + if (_scummVars[VAR_EGO] != egoVar) { + egoVar = _scummVars[VAR_EGO]; + _inventoryOffset = 0; + } + if (v2_mouseover_boxes[kInventoryUpArrow].rect.contains(x, y)) { _inventoryOffset -= 2; if (_inventoryOffset < 0) |