aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-02-15 13:06:09 +0000
committerTravis Howell2004-02-15 13:06:09 +0000
commit2e7badd6dc1b1f276d52395cb8fcdc6783995ae5 (patch)
treeff23eb2661205c5905f1a215b1f73f2772c99685 /scumm
parentb3697859cf0f376a57d82bb7a9bc6c3e75b15fa9 (diff)
downloadscummvm-rg350-2e7badd6dc1b1f276d52395cb8fcdc6783995ae5.tar.gz
scummvm-rg350-2e7badd6dc1b1f276d52395cb8fcdc6783995ae5.tar.bz2
scummvm-rg350-2e7badd6dc1b1f276d52395cb8fcdc6783995ae5.zip
Add back fix for bug #738352 and restrict to needed games only (Checked against disasm.)
svn-id: r12905
Diffstat (limited to 'scumm')
-rw-r--r--scumm/object.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index fe0a7ad449..36f813e9e2 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -350,7 +350,8 @@ void ScummEngine::drawRoomObject(int i, int arg) {
do {
a = od->parentstate;
if (!od->parent) {
- drawObject(i, arg);
+ if ((_version <= 6 && !(_features & GF_HUMONGOUS)) || od->fl_object_index == 0)
+ drawObject(i, arg);
break;
}
od = &_objs[od->parent];