From 859fdece6a8438f1817b38ab133b5b718fc3afe0 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Wed, 6 Aug 2014 11:49:57 -0400 Subject: [PATCH] prevent PROT from rapidly changing portal temps --- src/simulation/elements/PROT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/elements/PROT.cpp b/src/simulation/elements/PROT.cpp index 9329a9bc9..45580570a 100644 --- a/src/simulation/elements/PROT.cpp +++ b/src/simulation/elements/PROT.cpp @@ -92,7 +92,7 @@ int Element_PROT::update(UPDATE_FUNC_ARGS) if (under) { //now changed so that PROT goes through portal, so only the WIFI part applies - if ((under&0xFF) == PT_WIFI || (under&0xFF) == PT_PRTI || (under&0xFF) == PT_PRTO) + if ((under&0xFF) == PT_WIFI/* || (under&0xFF) == PT_PRTI || (under&0xFF) == PT_PRTO*/) { float change; if (parts[i].temp<173.15f) change = -1000.0f;