From 389d2fcb1e9ca1023cda11da80f00272ab20903a Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Mon, 8 Oct 2012 22:08:16 +0200 Subject: [PATCH] added 500ms blackness between map transitions dunno if that's the right amount, but should be something along those lines --- src/map/MapState.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/map/MapState.cpp b/src/map/MapState.cpp index 64c2547..ce14c29 100644 --- a/src/map/MapState.cpp +++ b/src/map/MapState.cpp @@ -242,7 +242,9 @@ void MapState::CheckTrigger() { if (trigger->map) { ctrl->PushState(new ColorFade(this, 0, 500, true)); ctrl->PushState(new TransitionState(this, trigger->map, trigger->target)); - ctrl->PushState(new ColorFade(this, 0, 500, false)); + ColorFade *fadeOut(new ColorFade(this, 0, 500, false)); + fadeOut->SetLeadOutTime(500); + ctrl->PushState(fadeOut); } } -- 2.39.2