diff options
author | Travis Howell | 2004-01-14 01:54:04 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-14 01:54:04 +0000 |
commit | 683a1561a25133841db1f2ee1a65907dfabf2523 (patch) | |
tree | c7119215a4d9d313311e18428f51791003421986 /scumm/actor.cpp | |
parent | 9db5e229862d97c80b5a69b0dbf0f8711131a3b4 (diff) | |
download | scummvm-rg350-683a1561a25133841db1f2ee1a65907dfabf2523.tar.gz scummvm-rg350-683a1561a25133841db1f2ee1a65907dfabf2523.tar.bz2 scummvm-rg350-683a1561a25133841db1f2ee1a65907dfabf2523.zip |
Slight change to match disasm. exactly.
svn-id: r12365
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 1787f44f1f..9b6c9dd5bc 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1217,11 +1217,11 @@ void Actor::setActorCostume(int c) { costumeNeedsInit = true; if (_vm->_features & GF_NEW_COSTUMES) { - cost.reset(); memset(animVariable, 0, sizeof(animVariable)); - costume = c; if (visible) { + cost.reset(); + costume = c; if (costume) { _vm->ensureResourceLoaded(rtCostume, costume); } |