diff options
author | Max Horn | 2003-06-13 09:11:31 +0000 |
---|---|---|
committer | Max Horn | 2003-06-13 09:11:31 +0000 |
commit | 36c50f10f3816aaad247b179da39971246162539 (patch) | |
tree | 8be4aefb6ae12cc799e7873ca0c715cbd48a1c7e /scumm | |
parent | 70f3302a88fefba098b145c08ad867ee7c41036c (diff) | |
download | scummvm-rg350-36c50f10f3816aaad247b179da39971246162539.tar.gz scummvm-rg350-36c50f10f3816aaad247b179da39971246162539.tar.bz2 scummvm-rg350-36c50f10f3816aaad247b179da39971246162539.zip |
fix for bug #752860 (based on patch #748675)
svn-id: r8457
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index eed7c76e93..e07c3b832e 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1103,6 +1103,11 @@ load_game: _lastSaveTime = _system->get_msecs(); } + int oldEgo = 0; + + if (VAR_EGO != 0xFF) + oldEgo = VAR(VAR_EGO); + if (_completeScreenRedraw) { _completeScreenRedraw = false; gdi.clearCharsetMask(); @@ -1184,8 +1189,14 @@ load_game: } _verbRedraw = false; - if (_version <= 2) + if (_version <= 2) { + if (oldEgo != VAR(VAR_EGO)) { + // FIXME: Reset and redraw the sentence line + oldEgo = VAR(VAR_EGO); + redrawV2Inventory(); + } checkV2MouseOver(_mouse); + } drawBlastTexts(); drawBlastObjects(); |