Fix INVS staying dark blue even when pressure is removed
This commit is contained in:
parent
956fb39124
commit
7da144fbae
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user