Browse Source

fix portals

pull/1014/head
qndel 5 years ago committed by Anders Jenbo
parent
commit
03fcc8914f
  1. 2
      Source/portal.cpp

2
Source/portal.cpp

@ -68,7 +68,7 @@ void SyncPortals()
int lvl = currlevel;
if (setlevel)
lvl = setlvlnum;
if (portal[i].level == lvl)
if (portal[i].level == lvl && portal[i].setlvl == setlevel)
AddWarpMissile(i, portal[i].x, portal[i].y);
}
}

Loading…
Cancel
Save