mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
do not skip warp+walk events
svn-id: r48371
This commit is contained in:
parent
b46a2b4e10
commit
164dfdd0ab
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user