From 03fcc8914f8e0c3aa856c04c548fffb27df667f2 Mon Sep 17 00:00:00 2001 From: qndel Date: Thu, 18 Feb 2021 04:36:29 +0100 Subject: [PATCH] fix portals --- Source/portal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/portal.cpp b/Source/portal.cpp index e4d1ceae4..a215e6b04 100644 --- a/Source/portal.cpp +++ b/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); } }