diff --git a/Source/portal.cpp b/Source/portal.cpp index 296fea10f..edf94618d 100644 --- a/Source/portal.cpp +++ b/Source/portal.cpp @@ -18,12 +18,12 @@ void InitPortals() void SetPortalStats(int i, BOOL o, int x, int y, int lvl, int lvltype) { - portal[i].setlvl = FALSE; + portal[i].open = o; portal[i].x = x; portal[i].y = y; - portal[i].open = o; portal[i].level = lvl; portal[i].ltype = lvltype; + portal[i].setlvl = FALSE; } void AddWarpMissile(int i, int x, int y)