Skip to content

Commit

Permalink
prevent PROT from rapidly changing portal temps
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Aug 6, 2014
1 parent e4b08c8 commit 859fdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/elements/PROT.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 859fdec

Please sign in to comment.