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 f52f92038a..f4d2b28f87 100644
--- a/scumm/base-costume.cpp
+++ b/scumm/base-costume.cpp
@@ -25,7 +25,7 @@
namespace Scumm {
-byte BaseCostumeRenderer::drawCostume(const VirtScreen &vs, const Actor *a, bool drawToBackBuf) {
+byte BaseCostumeRenderer::drawCostume(const VirtScreen &vs, int numStrips, const Actor *a, bool drawToBackBuf) {
int i;
byte result = 0;
@@ -36,7 +36,7 @@ byte BaseCostumeRenderer::drawCostume(const VirtScreen &vs, const Actor *a, bool
_outwidth = vs.pitch;
_outheight = vs.h;
- _numStrips = _outwidth / 8;
+ _numStrips = numStrips;
if (_vm->_version == 1) {
_xmove = 0;