diff options
author | Max Horn | 2003-01-13 14:04:41 +0000 |
---|---|---|
committer | Max Horn | 2003-01-13 14:04:41 +0000 |
commit | 020a1c3e2d7dee95c9b6135a7f16ab23c688e22b (patch) | |
tree | 8c0340a0aa006e57b145e9cebc02ea896262d4af /scumm/boxes.cpp | |
parent | e704837f5c987a840c6ef690807c319425b85ea5 (diff) | |
download | scummvm-rg350-020a1c3e2d7dee95c9b6135a7f16ab23c688e22b.tar.gz scummvm-rg350-020a1c3e2d7dee95c9b6135a7f16ab23c688e22b.tar.bz2 scummvm-rg350-020a1c3e2d7dee95c9b6135a7f16ab23c688e22b.zip |
fixed COMI actor scaling, again
svn-id: r6443
Diffstat (limited to 'scumm/boxes.cpp')
-rw-r--r-- | scumm/boxes.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/boxes.cpp b/scumm/boxes.cpp index 088ce91173..07765a1e31 100644 --- a/scumm/boxes.cpp +++ b/scumm/boxes.cpp @@ -128,6 +128,12 @@ void Scumm::setBoxScale(int box, int scale) b->old.scale = TO_LE_16(scale); } +void Scumm::setBoxScaleSlot(int box, int slot) +{ + Box *b = getBoxBaseAddr(box); + b->v8.scaleSlot = TO_LE_32(slot); +} + int Scumm::getScale(int box, int x, int y) { Box *ptr = getBoxBaseAddr(box); |