Change needed for HE 71 too.

svn-id: r14984
This commit is contained in:
Travis Howell 2004-09-09 14:07:51 +00:00
parent 9eb69ed03a
commit 655728fe7d
5 changed files with 9 additions and 21 deletions

View file

@ -554,10 +554,12 @@ void ScummEngine_v7he::o7_pickupObject() {
addObjectToInventory(obj, room);
putOwner(obj, VAR(VAR_EGO));
putClass(obj, kObjectClassUntouchable, 1);
putState(obj, 1);
markObjectRectAsDirty(obj);
clearDrawObjectQueue();
if (_heversion <= 70) {
putClass(obj, kObjectClassUntouchable, 1);
putState(obj, 1);
markObjectRectAsDirty(obj);
clearDrawObjectQueue();
}
runInventoryScript(obj); /* Difference */
}