Browse Source

When using a portal to a setmap also set setlvltype, cause it's needed to load areana correctly

pull/5879/merge
obligaron 3 years ago committed by Anders Jenbo
parent
commit
b3a3d520dd
  1. 2
      Source/portal.cpp

2
Source/portal.cpp

@ -142,7 +142,7 @@ void GetPortalLevel()
setlvlnum = (_setlevels)Portals[portalindex].level;
currlevel = Portals[portalindex].level;
MyPlayer->setLevel(setlvlnum);
leveltype = Portals[portalindex].ltype;
setlvltype = leveltype = Portals[portalindex].ltype;
} else {
setlevel = false;
currlevel = Portals[portalindex].level;

Loading…
Cancel
Save