mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
Fix INVS staying dark blue even when pressure is removed
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user