aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-06-13 09:11:31 +0000
committerMax Horn2003-06-13 09:11:31 +0000
commit36c50f10f3816aaad247b179da39971246162539 (patch)
tree8be4aefb6ae12cc799e7873ca0c715cbd48a1c7e
parent70f3302a88fefba098b145c08ad867ee7c41036c (diff)
downloadscummvm-rg350-36c50f10f3816aaad247b179da39971246162539.tar.gz
scummvm-rg350-36c50f10f3816aaad247b179da39971246162539.tar.bz2
scummvm-rg350-36c50f10f3816aaad247b179da39971246162539.zip
fix for bug #752860 (based on patch #748675)
svn-id: r8457
-rw-r--r--scumm/scummvm.cpp13
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();