From: Daniel Karbach Date: Mon, 8 Oct 2012 20:08:16 +0000 (+0200) Subject: added 500ms blackness between map transitions X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=389d2fcb1e9ca1023cda11da80f00272ab20903a;p=l2e.git added 500ms blackness between map transitions dunno if that's the right amount, but should be something along those lines --- 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); } }