aboutsummaryrefslogtreecommitdiff
path: root/scumm/script.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-08-24 01:47:45 +0000
committerTravis Howell2003-08-24 01:47:45 +0000
commit79036c5a1dc6e280b0f1454a6b640e546bb36b4b (patch)
tree4dfe284d61512eec7134848544dc42a604555d1a /scumm/script.cpp
parente8cd4604411127250a24c402527ee887a89af38e (diff)
downloadscummvm-rg350-79036c5a1dc6e280b0f1454a6b640e546bb36b4b.tar.gz
scummvm-rg350-79036c5a1dc6e280b0f1454a6b640e546bb36b4b.tar.bz2
scummvm-rg350-79036c5a1dc6e280b0f1454a6b640e546bb36b4b.zip
Handle hiding of verbs/inventory in v1-v2 games correctly.
According to diasm. the verbs areas is only enabled and shown when (_userState & 128) is true and verbs/inventory area is cleared/redrawn on each state change. svn-id: r9837
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r--scumm/script.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index e599ae456e..18367dbe4a 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -659,11 +659,6 @@ void Scumm::stopObjectCode() {
}
void Scumm::runInventoryScript(int i) {
- // FIXME demo mode in V1 Maniac Mansion shows quotes in this area
- // during the introduction
- if (_gameId == GID_MANIAC && _version == 1 && _demo_mode)
- return;
-
if (_version <= 2) {
redrawV2Inventory();
} else {