do not skip warp+walk events

svn-id: r48371
This commit is contained in:
Vladimir Menshakov 2010-03-23 20:58:40 +00:00
parent b46a2b4e10
commit 164dfdd0ab

View File

@ -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;