aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-06-07 23:37:32 +0000
committerFilippos Karapetis2007-06-07 23:37:32 +0000
commit90d840de4578dde36afcec8a4408b8b61747b6ef (patch)
treec4e415050092eb79197fdc5d48305c0099486b98
parente35ba53b7e358e1ba4f29a9d0af75dee78f7acc9 (diff)
downloadscummvm-rg350-90d840de4578dde36afcec8a4408b8b61747b6ef.tar.gz
scummvm-rg350-90d840de4578dde36afcec8a4408b8b61747b6ef.tar.bz2
scummvm-rg350-90d840de4578dde36afcec8a4408b8b61747b6ef.zip
Implement more Actor::calcScreenPosition differences for IHNM
svn-id: r27179
-rw-r--r--engines/saga/actor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp
index adbd9ed118..2a73eac604 100644
--- a/engines/saga/actor.cpp
+++ b/engines/saga/actor.cpp
@@ -1671,6 +1671,8 @@ bool Actor::calcScreenPosition(CommonObjectData *commonObjectData) {
commonObjectData->_screenScale = 256;
} else if (_vm->getGameType() == GType_IHNM && (objectTypeId(commonObjectData->_id) & kGameObjectObject)) {
commonObjectData->_screenScale = 256;
+ } else if (_vm->getGameType() == GType_IHNM && (commonObjectData->_flags & kNoScale)) {
+ commonObjectData->_screenScale = 256;
} else if (middle >= endSlope) {
commonObjectData->_screenScale = 1;
} else {