fix loading screens: (#2109)

This commit is contained in:
qndel 2021-06-04 22:49:54 +02:00 committed by GitHub
commit 1c246e64d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;