Browse Source

🐛 Fix wrong assignment during level change

pull/1292/head
Anders Jenbo 5 years ago
parent
commit
f3d93ea41e
  1. 4
      Source/interfac.cpp

4
Source/interfac.cpp

@ -38,12 +38,12 @@ static Cutscenes PickCutscene(interface_mode uMsg)
case WM_DIABTOWNWARP:
case WM_DIABTWARPUP: {
int lvl = currlevel;
if (uMsg = WM_DIABTWARPUP)
if (uMsg == WM_DIABTWARPUP)
lvl = plr[myplr].plrlevel;
if (lvl == 1 && uMsg == WM_DIABPREVLVL)
return CutTown;
if (lvl == 16 && uMsg == WM_DIABTWARPUP)
if (lvl == 16 && uMsg == WM_DIABNEXTLVL)
return CutGate;
switch (gnLevelTypeTbl[lvl]) {

Loading…
Cancel
Save