aboutsummaryrefslogtreecommitdiff
path: root/scumm/costume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/costume.cpp')
-rw-r--r--scumm/costume.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index 7b9f4282ff..0ed1ed1616 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -594,10 +594,11 @@ void LoadedCostume::loadCostume(int id) {
_animCmds = _baseptr + READ_LE_UINT16(ptr);
}
-byte CostumeRenderer::drawLimb(const CostumeData &cost, int limb) {
+byte CostumeRenderer::drawLimb(const Actor *a, int limb) {
int i;
int code;
const byte *frameptr;
+ const CostumeData &cost = a->cost;
// If the specified limb is stopped or not existing, do nothing.
if (cost.curpos[limb] == 0xFFFF || cost.stopped & (1 << limb))