aboutsummaryrefslogtreecommitdiff
path: root/boxes.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-02-15 13:49:55 +0000
committerVincent Hamm2002-02-15 13:49:55 +0000
commitab021d8b3c52d725680d98825c23b2d6d7a1d5e6 (patch)
tree151ac3fb930e3343d56b89c401c41e093a22e80b /boxes.cpp
parent535c12ebfb26895a0f990bb13fab185f7d2bc4e1 (diff)
downloadscummvm-rg350-ab021d8b3c52d725680d98825c23b2d6d7a1d5e6.tar.gz
scummvm-rg350-ab021d8b3c52d725680d98825c23b2d6d7a1d5e6.tar.bz2
scummvm-rg350-ab021d8b3c52d725680d98825c23b2d6d7a1d5e6.zip
Another fix for the actor scalling
svn-id: r3591
Diffstat (limited to 'boxes.cpp')
-rw-r--r--boxes.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boxes.cpp b/boxes.cpp
index 99b96bdb0b..2e053d1f28 100644
--- a/boxes.cpp
+++ b/boxes.cpp
@@ -33,6 +33,8 @@ byte Scumm::getBoxFlags(int box) {
}
int Scumm::getBoxScale(int box) {
+ if(_features & GF_NO_SCALLING)
+ return(255);
Box *ptr = getBoxBaseAddr(box);
return FROM_LE_16(ptr->scale);
}