From ade86f45df69c2ca56b8e538e0758e0c4bf63f07 Mon Sep 17 00:00:00 2001 From: James Brown Date: Sun, 10 Nov 2002 12:59:36 +0000 Subject: Hack to prevent decapitation :) svn-id: r5485 --- scumm/actor.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scumm') diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 1f1e658b54..b2a62b1fa2 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -456,6 +456,13 @@ void Actor::startAnimActor(int f) break; } + // FIXME: This is a hack to fix decapitation, which somehow occurs only on + // the standFrame (CHORE mode 3). We hack around this by simply using the + // initFrame instead. As far as it goes, I see no difference. Apart from + // keeping my lovely head intact. + if (f == 3 && _vm->_gameId == GID_INDY3_256) + f = initFrame; + if (isInCurrentRoom() && costume) { animProgress = 0; cost.animCounter1 = 0; -- cgit v1.2.3