aboutsummaryrefslogtreecommitdiff
path: root/scumm/base-costume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/base-costume.cpp')
-rw-r--r--scumm/base-costume.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/base-costume.cpp b/scumm/base-costume.cpp
index 9ce7bbf286..63dae0686c 100644
--- a/scumm/base-costume.cpp
+++ b/scumm/base-costume.cpp
@@ -25,7 +25,7 @@
namespace Scumm {
-byte BaseCostumeRenderer::drawCostume(const VirtScreen &vs, const CostumeData &cost, bool drawToBackBuf) {
+byte BaseCostumeRenderer::drawCostume(const VirtScreen &vs, const Actor *a, bool drawToBackBuf) {
int i;
byte result = 0;
@@ -48,7 +48,7 @@ byte BaseCostumeRenderer::drawCostume(const VirtScreen &vs, const CostumeData &c
_xmove = _ymove = 0;
}
for (i = 0; i < 16; i++)
- result |= drawLimb(cost, i);
+ result |= drawLimb(a, i);
return result;
}