diff --git a/src/simulation/elements/INVIS.cpp b/src/simulation/elements/INVIS.cpp index 03f2d6986..54d722dbf 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; }