diff options
author | Vladimir Menshakov | 2009-11-15 10:15:39 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-11-15 10:15:39 +0000 |
commit | 73a8d06cf46cdddb8bef87ee8bb01d9a5bb5854b (patch) | |
tree | 6728321b3b3bbb703a7f413219bf2978e88c5ca4 /engines/teenagent/scene.cpp | |
parent | ed81c0c35dd652c54bab4b345ec647d9d5b99635 (diff) | |
download | scummvm-rg350-73a8d06cf46cdddb8bef87ee8bb01d9a5bb5854b.tar.gz scummvm-rg350-73a8d06cf46cdddb8bef87ee8bb01d9a5bb5854b.tar.bz2 scummvm-rg350-73a8d06cf46cdddb8bef87ee8bb01d9a5bb5854b.zip |
added face animation.
svn-id: r45914
Diffstat (limited to 'engines/teenagent/scene.cpp')
-rw-r--r-- | engines/teenagent/scene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index 3e5ade2c27..0da2b5014f 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -654,7 +654,7 @@ bool Scene::render(OSystem *system) { position.x += (ABS(dp.x) < speed_x? dp.x: SIGN(dp.x) * speed_x); position.y += (ABS(dp.y) < speed_y? dp.y: SIGN(dp.y) * speed_y); - actor_animation_position = teenagent.render(surface, position, o, 1); + actor_animation_position = teenagent.render(surface, position, o, 1, false); if (position == destination) { path.pop_front(); if (path.empty()) { @@ -668,7 +668,7 @@ bool Scene::render(OSystem *system) { } else busy = true; } else - actor_animation_position = teenagent.render(surface, position, orientation, 0); + actor_animation_position = teenagent.render(surface, position, orientation, 0, false); } } |