diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/teenagent/scene.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index f48c72a919..48840bb06f 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -673,6 +673,11 @@ bool Scene::render() { if (!path.empty()) { int speed_x = 4 * zoom / 256, speed_y = 1 * zoom / 256; + if (speed_x == 0) + speed_x = 1; + if (speed_y == 0) + speed_y = 1; + if ((teenagent.currentIndex() % 5) == 0) speed_x *= 4; |