diff options
author | Max Horn | 2003-06-06 11:59:29 +0000 |
---|---|---|
committer | Max Horn | 2003-06-06 11:59:29 +0000 |
commit | 62e3a110ddf059ac636717d4259e7615a4740472 (patch) | |
tree | 69bb22bc1608360150514e842868606eb7757d23 /scumm | |
parent | c89b04488d16e878dcf2f9775bd2a388d4bee0f8 (diff) | |
download | scummvm-rg350-62e3a110ddf059ac636717d4259e7615a4740472.tar.gz scummvm-rg350-62e3a110ddf059ac636717d4259e7615a4740472.tar.bz2 scummvm-rg350-62e3a110ddf059ac636717d4259e7615a4740472.zip |
added a currently disabled hack that can be used to get costumes used in V1 games (currently crashes since we don't support that custome format yet)
svn-id: r8349
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v2.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 25ebfbe207..e6e0653caa 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -683,6 +683,15 @@ 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 (_features & GF_AFTER_V1 && vm.slot[_currentScript].number == 1) { + a->setActorCostume(act); + } +#endif break; case 2: // Actor Set Color |