diff options
Diffstat (limited to 'engines/teenagent/actor.cpp')
-rw-r--r-- | engines/teenagent/actor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/teenagent/actor.cpp b/engines/teenagent/actor.cpp index 717c022c38..cb8c798fb6 100644 --- a/engines/teenagent/actor.cpp +++ b/engines/teenagent/actor.cpp @@ -37,7 +37,7 @@ Common::Rect Actor::renderIdle(Graphics::Surface *surface, const Common::Point & debug(0, "switched to idle animation %u", idle_type); } - Resources * res = Resources::instance(); + Resources *res = Resources::instance(); byte *frames_idle; do { frames_idle = res->dseg.ptr(res->dseg.get_word(0x6540 + idle_type * 2)) + index; @@ -47,7 +47,7 @@ Common::Rect Actor::renderIdle(Graphics::Surface *surface, const Common::Point & debug(0, "switched to idle animation %u[loop]", idle_type); index = 3; //put 4th frame (base 1) if idle animation loops } - } while(*frames_idle == 0); + } while (*frames_idle == 0); bool mirror = orientation == kActorLeft; Surface *s = frames + *frames_idle - 1; |