diff options
author | Max Horn | 2005-03-27 00:42:53 +0000 |
---|---|---|
committer | Max Horn | 2005-03-27 00:42:53 +0000 |
commit | 5bd26a52df502391714b539df30eb76e50c72cf7 (patch) | |
tree | 68c28db4f1cca6b0c21902424915e17388ed9351 /scumm/actor.cpp | |
parent | 446be21239727bcea559e201b77a48860fd5a34f (diff) | |
download | scummvm-rg350-5bd26a52df502391714b539df30eb76e50c72cf7.tar.gz scummvm-rg350-5bd26a52df502391714b539df30eb76e50c72cf7.tar.bz2 scummvm-rg350-5bd26a52df502391714b539df30eb76e50c72cf7.zip |
More costume code restructuring
svn-id: r17258
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index ee881d81c7..4178d629b8 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1128,7 +1128,7 @@ void Actor::animateCostume() { if (_animProgress >= _animSpeed) { _animProgress = 0; - BaseCostume *cost = 0; + BaseCostumeLoader *cost = 0; if (_vm->_features & GF_NEW_COSTUMES) { byte *akos = _vm->getResourceAddress(rtCostume, _costume); @@ -1138,9 +1138,9 @@ void Actor::animateCostume() { } } else { if (_vm->_features & GF_NES) - cost = new NESCostume(_vm); + cost = new NESCostumeLoader(_vm); else - cost = new ClassicCostume(_vm); + cost = new ClassicCostumeLoader(_vm); cost->loadCostume(_costume); if (cost->increaseAnims(this)) { _needRedraw = true; |