From 80fb61019f4ef108d8fc5f4b3e163c5c0ed47bdf Mon Sep 17 00:00:00 2001 From: jimmy-cell Date: Thu, 5 Sep 2019 20:12:27 +0300 Subject: [PATCH] SetPortalStats bin exact vanilla --- Source/portal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)