From 1419f0d5ef32d8ae811b567616070cf916792320 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 3 Apr 2005 22:10:10 +0000 Subject: 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 --- scumm/object.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scumm/object.cpp') 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); -- cgit v1.2.3