Browse Source

fix loading screens: (#2109)

pull/2120/head
qndel 5 years ago committed by GitHub
parent
commit
1c246e64d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      Source/interfac.cpp

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

Loading…
Cancel
Save