Fix veggie head bug in fbear. Patch attahed to bugreport #984258 is

partially attached.

svn-id: r14154
This commit is contained in:
Eugene Sandulenko 2004-07-03 03:06:15 +00:00
parent 995ac059f8
commit 1590ea242e
2 changed files with 5 additions and 1 deletions

1
TODO
View File

@ -283,7 +283,6 @@ SCUMM
- Fix creature behind garage door disappearing in moondemo
- Fix remaining masking issues, when cars come out of garages in puttputt and
when Putt-Putt gets off the chair in Cosmic Dust Diner of puttmoon
- Fix 'costume x undefined x x' errors in veggie head mini game of fbear
- Document and fix AKOS differences in Humongous Entertainment games
- Support various newer Humongous Entertainment games
* Humongous entertainment >= v7 titles:

View File

@ -1241,6 +1241,11 @@ void Actor::setActorCostume(int c) {
return;
}
// Based on disassembly. It seems that high byte is not used at all, though
// it is attached to all horizontally flipped object, like left eye.
if (_vm->_heversion == 60)
c &= 0xff;
costumeNeedsInit = true;
if (_vm->_features & GF_NEW_COSTUMES) {