aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
diff options
context:
space:
mode:
authorMax Horn2005-04-03 22:10:10 +0000
committerMax Horn2005-04-03 22:10:10 +0000
commit1419f0d5ef32d8ae811b567616070cf916792320 (patch)
tree31e668a14cdf23dfb026e49003a67327ef9d6fec /scumm/object.cpp
parenteda317924ec0573d5c2a8407feaa8dafb6d4a9bc (diff)
downloadscummvm-rg350-1419f0d5ef32d8ae811b567616070cf916792320.tar.gz
scummvm-rg350-1419f0d5ef32d8ae811b567616070cf916792320.tar.bz2
scummvm-rg350-1419f0d5ef32d8ae811b567616070cf916792320.zip
Split readResTypeList into a normal and a GF_OLD_BUNDLE version; added comments to many of the GF_ feature flags; removed GF_DRAWOBJ_OTHER_ORDER (it was only use by Sam&Max, I switched that to a direct check for Sam&Max)
svn-id: r17362
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r--scumm/object.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 262a5c5793..9d7464ccac 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -400,7 +400,8 @@ void ScummEngine::drawRoomObjects(int arg) {
int i;
const int mask = (_version <= 2) ? 0x8 : 0xF;
- if (_features & GF_DRAWOBJ_OTHER_ORDER) {
+ if (_gameId == GID_SAMNMAX) {
+ // In Sam & Max, objects are drawn in reverse order.
for (i = 1; i < _numLocalObjects; i++)
if (_objs[i].obj_nr > 0)
drawRoomObject(i, arg);