aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2004-07-03 03:06:15 +0000
committerEugene Sandulenko2004-07-03 03:06:15 +0000
commit1590ea242e3c1be2fc04056e76e91e68fee27906 (patch)
tree3b83f812d492785b09bbee7af1ab60e5fc8d000f
parent995ac059f8c3f04cdf7fae1314f853ee4fd3aeb2 (diff)
downloadscummvm-rg350-1590ea242e3c1be2fc04056e76e91e68fee27906.tar.gz
scummvm-rg350-1590ea242e3c1be2fc04056e76e91e68fee27906.tar.bz2
scummvm-rg350-1590ea242e3c1be2fc04056e76e91e68fee27906.zip
Fix veggie head bug in fbear. Patch attahed to bugreport #984258 is
partially attached. svn-id: r14154
-rw-r--r--TODO1
-rw-r--r--scumm/actor.cpp5
2 files changed, 5 insertions, 1 deletions
diff --git a/TODO b/TODO
index 104cdd01a0..5af268052c 100644
--- a/TODO
+++ b/TODO
@@ -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:
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index e465ecc173..3a8d06ee3a 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -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) {