diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-11-05 14:45:46 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-11-05 14:45:46 (GMT) |
| commit | 7da144fbae1dac390ddf3bbcc69a990cf91398ac (patch) | |
| tree | d4c1553b82e5baee2f50b8b790e6770e4b27c1b6 | |
| parent | 956fb39124a54f4f421170ef9412be920931d937 (diff) | |
| download | powder-7da144fbae1dac390ddf3bbcc69a990cf91398ac.zip powder-7da144fbae1dac390ddf3bbcc69a990cf91398ac.tar.gz | |
Fix INVS staying dark blue even when pressure is removed
| -rw-r--r-- | src/simulation/elements/INVIS.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simulation/elements/INVIS.cpp b/src/simulation/elements/INVIS.cpp index 03f2d69..54d722d 100644 --- a/src/simulation/elements/INVIS.cpp +++ b/src/simulation/elements/INVIS.cpp @@ -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; } |
