From 1c246e64d148ed5603aa7c92a611debc7deb0532 Mon Sep 17 00:00:00 2001 From: qndel Date: Fri, 4 Jun 2021 22:49:54 +0200 Subject: [PATCH] fix loading screens: (#2109) --- Source/interfac.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Source/interfac.cpp b/Source/interfac.cpp index 458495b95..064b84aa8 100644 --- a/Source/interfac.cpp +++ b/Source/interfac.cpp @@ -51,11 +51,8 @@ static Cutscenes PickCutscene(interface_mode uMsg) case WM_DIABPREVLVL: case WM_DIABTOWNWARP: case WM_DIABTWARPUP: { - int lvl = currlevel; - if (uMsg == WM_DIABTWARPUP) - lvl = plr[myplr].plrlevel; - - if (lvl == 1 && uMsg == WM_DIABPREVLVL) + int lvl = plr[myplr].plrlevel; + if (lvl == 1 && uMsg == WM_DIABNEXTLVL) return CutTown; if (lvl == 16 && uMsg == WM_DIABNEXTLVL) return CutGate;