diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/core.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index b81b710d8e..49cc2204a9 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -2227,10 +2227,13 @@ void SceneObject::checkAngle(const SceneObject *obj) { void SceneObject::checkAngle(const Common::Point &pt) { int angleAmount = GfxManager::getAngle(_position, pt); - if ((_vm->getGameID() == GType_Ringworld) || - ((angleAmount != -1) && (_animateMode == ANIM_MODE_9))) + if (angleAmount != -1) { _angle = angleAmount; + if (_animateMode == ANIM_MODE_9) + _angle = (angleAmount + 180) % 360; + } + if (_objectWrapper && (_vm->getGameID() == GType_Ringworld)) _objectWrapper->dispatch(); } |