aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-10-15 06:41:48 +0000
committerTravis Howell2005-10-15 06:41:48 +0000
commit59bf8538a55116d7bb9859b6d03de355d8c10df1 (patch)
tree0e5f5565f06e1f1ce17fd4254aebe0df412e1a63 /scumm
parent7aec70c3952c76235c83e162069c24d89c7c52fc (diff)
downloadscummvm-rg350-59bf8538a55116d7bb9859b6d03de355d8c10df1.tar.gz
scummvm-rg350-59bf8538a55116d7bb9859b6d03de355d8c10df1.tar.bz2
scummvm-rg350-59bf8538a55116d7bb9859b6d03de355d8c10df1.zip
Reset inventory offset when restarting V1/V2 games.
svn-id: r19094
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scumm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 8533e8ee5f..716c1c3360 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1975,6 +1975,8 @@ void ScummEngine_v2::scummInit() {
_switchRoomEffect2 = 1;
_switchRoomEffect = 5;
}
+
+ _inventoryOffset = 0;
}
void ScummEngine_v6::scummInit() {