mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
Putt Putt games use old calculation
svn-id: r11994
This commit is contained in:
parent
28199bc840
commit
6c3e0134c2
@ -416,7 +416,7 @@ void Actor::setupActorScale() {
|
||||
}
|
||||
|
||||
void Actor::startAnimActor(int f) {
|
||||
if (_vm->_features & GF_NEW_COSTUMES) {
|
||||
if ((_vm->_features & GF_NEW_COSTUMES) && !(_vm->_features & GF_HUMONGOUS)) {
|
||||
switch (f) {
|
||||
case 1001:
|
||||
f = initFrame;
|
||||
@ -434,17 +434,6 @@ void Actor::startAnimActor(int f) {
|
||||
f = talkStopFrame;
|
||||
break;
|
||||
}
|
||||
|
||||
frame = f;
|
||||
|
||||
if (costume != 0) {
|
||||
animProgress = 0;
|
||||
needRedraw = true;
|
||||
if (f == initFrame)
|
||||
cost.reset();
|
||||
_vm->akos_decodeData(this, f, (uint) - 1);
|
||||
}
|
||||
|
||||
} else {
|
||||
switch (f) {
|
||||
case 0x38:
|
||||
@ -463,7 +452,19 @@ void Actor::startAnimActor(int f) {
|
||||
f = talkStopFrame;
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (_vm->_features & GF_NEW_COSTUMES) {
|
||||
frame = f;
|
||||
|
||||
if (costume != 0) {
|
||||
animProgress = 0;
|
||||
needRedraw = true;
|
||||
if (f == initFrame)
|
||||
cost.reset();
|
||||
_vm->akos_decodeData(this, f, (uint) - 1);
|
||||
}
|
||||
} else {
|
||||
assert(f != 0x3E);
|
||||
frame = f;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user