From 36c50f10f3816aaad247b179da39971246162539 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 13 Jun 2003 09:11:31 +0000 Subject: [PATCH] fix for bug #752860 (based on patch #748675) svn-id: r8457 --- scumm/scummvm.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index eed7c76e93d..e07c3b832e7 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();