aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/character.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/toon/character.cpp')
-rw-r--r--engines/toon/character.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/toon/character.cpp b/engines/toon/character.cpp
index dd057cca4a..f1f246e549 100644
--- a/engines/toon/character.cpp
+++ b/engines/toon/character.cpp
@@ -91,6 +91,11 @@ void Character::setFacing(int32 facing) {
if (facing == _facing)
return;
+ if (!_visible) {
+ _facing = facing;
+ return;
+ }
+
if (_blockingWalk) {
_flags |= 2;
@@ -340,7 +345,7 @@ void Character::stopSpecialAnim() {
_animFlags = 0;
_flags &= ~1;
_flags &= ~4;
-
+
if (needStandingAnim) {
playStandingAnim();
}