mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 12:22:51 +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) {
|
void Actor::startAnimActor(int f) {
|
||||||
if (_vm->_features & GF_NEW_COSTUMES) {
|
if ((_vm->_features & GF_NEW_COSTUMES) && !(_vm->_features & GF_HUMONGOUS)) {
|
||||||
switch (f) {
|
switch (f) {
|
||||||
case 1001:
|
case 1001:
|
||||||
f = initFrame;
|
f = initFrame;
|
||||||
@ -434,17 +434,6 @@ void Actor::startAnimActor(int f) {
|
|||||||
f = talkStopFrame;
|
f = talkStopFrame;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
frame = f;
|
|
||||||
|
|
||||||
if (costume != 0) {
|
|
||||||
animProgress = 0;
|
|
||||||
needRedraw = true;
|
|
||||||
if (f == initFrame)
|
|
||||||
cost.reset();
|
|
||||||
_vm->akos_decodeData(this, f, (uint) - 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
switch (f) {
|
switch (f) {
|
||||||
case 0x38:
|
case 0x38:
|
||||||
@ -463,7 +452,19 @@ void Actor::startAnimActor(int f) {
|
|||||||
f = talkStopFrame;
|
f = talkStopFrame;
|
||||||
break;
|
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);
|
assert(f != 0x3E);
|
||||||
frame = f;
|
frame = f;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user