diff options
author | Max Horn | 2009-09-25 09:13:33 +0000 |
---|---|---|
committer | Max Horn | 2009-09-25 09:13:33 +0000 |
commit | adaf3ec8b4818f89e9f4d39fb2a14710b0f0bd5b (patch) | |
tree | e964d10131c5d341df8ad96b792eca36ab3ea126 /engines/scumm/base-costume.cpp | |
parent | 07092bfccbfdbb5e01cb99068f36229055e56df6 (diff) | |
download | scummvm-rg350-adaf3ec8b4818f89e9f4d39fb2a14710b0f0bd5b.tar.gz scummvm-rg350-adaf3ec8b4818f89e9f4d39fb2a14710b0f0bd5b.tar.bz2 scummvm-rg350-adaf3ec8b4818f89e9f4d39fb2a14710b0f0bd5b.zip |
SCUMM: Rename _bitDepth to _bytesPerPixel
svn-id: r44336
Diffstat (limited to 'engines/scumm/base-costume.cpp')
-rw-r--r-- | engines/scumm/base-costume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/base-costume.cpp b/engines/scumm/base-costume.cpp index ef706afaac..2aecb3dfdd 100644 --- a/engines/scumm/base-costume.cpp +++ b/engines/scumm/base-costume.cpp @@ -40,7 +40,7 @@ byte BaseCostumeRenderer::drawCostume(const VirtScreen &vs, int numStrips, const _out.pixels = vs.getPixels(0, 0); _actorX += _vm->_virtscr[kMainVirtScreen].xstart & 7; - _out.w = _out.pitch / _vm->_bitDepth; + _out.w = _out.pitch / _vm->_bytesPerPixel; _out.pixels = (byte *)_out.pixels - (_vm->_virtscr[kMainVirtScreen].xstart & 7); _numStrips = numStrips; |