From 164dfdd0ab48bd44610ee31a7d9dbc3069ed8575 Mon Sep 17 00:00:00 2001 From: Vladimir Menshakov Date: Tue, 23 Mar 2010 20:58:40 +0000 Subject: [PATCH] do not skip warp+walk events svn-id: r48371 --- engines/teenagent/scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index 477f5dca89a..237db19558e 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -469,7 +469,7 @@ void Scene::push(const SceneEvent &event) { //event.dump(); if (event.type == SceneEvent::kWalk && !events.empty()) { SceneEvent &prev = events.back(); - if (prev.type == SceneEvent::kWalk) { + if (prev.type == SceneEvent::kWalk && prev.color == event.color) { debug(0, "fixing double-move [skipping event!]"); if ((event.color & 2) != 0) { //relative move prev.dst.x += event.dst.x;