mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
init costumes for v1 games
svn-id: r8378
This commit is contained in:
parent
49b9a8fc9d
commit
0c85e713ac
@ -683,15 +683,6 @@ void Scumm_v2::o2_actorSet() {
|
||||
switch (_opcode) {
|
||||
case 1: // Actor Sound
|
||||
a->sound[0] = arg;
|
||||
|
||||
#if 0
|
||||
// FIXME: This hack would make costume draw. However, until
|
||||
// we have added support for the V1 costume format, this hurts
|
||||
// more than it helps.
|
||||
if (_version == 1 && vm.slot[_currentScript].number == 1) {
|
||||
a->setActorCostume(act);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
||||
case 2: // Actor Set Color
|
||||
|
@ -819,6 +819,10 @@ void Scumm::scummInit() {
|
||||
for (i = 1; i < _numActors; i++) {
|
||||
_actors[i].number = i;
|
||||
_actors[i].initActor(1);
|
||||
|
||||
// this is from IDB
|
||||
if (_version == 1)
|
||||
_actors[i].costume = i;
|
||||
}
|
||||
|
||||
_numNestedScripts = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user