Fix INVS staying dark blue even when pressure is removed

This commit is contained in:
jacksonmj 2012-11-05 14:45:46 +00:00
parent 956fb39124
commit 7da144fbae

View File

@ -51,6 +51,8 @@ int Element_INVIS::update(UPDATE_FUNC_ARGS)
{
if (sim->pv[y/CELL][x/CELL]>4.0f || sim->pv[y/CELL][x/CELL]<-4.0f)
parts[i].tmp = 1;
else
parts[i].tmp = 0;
return 0;
}