X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.cpp;h=ce14c2905982e04efcdce3c9edee11534b4a0931;hb=389d2fcb1e9ca1023cda11da80f00272ab20903a;hp=64c254786559bb2fce4958005c1dde5de85d8bd9;hpb=e02068d51f5e7f82d4d3195e9a9ce5c9d76f727d;p=l2e.git 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); } }