diff --git a/src/simulation/elements/PIPE.cpp b/src/simulation/elements/PIPE.cpp index 91d0b2c0f..efd04faf5 100644 --- a/src/simulation/elements/PIPE.cpp +++ b/src/simulation/elements/PIPE.cpp @@ -381,7 +381,7 @@ int Element_PIPE_graphics(GRAPHICS_FUNC_ARGS) auto *graphics = elements[t].Graphics; if (graphics) { - Particle tpart; + Particle tpart{}; props_pipe_to_part(cpart, &tpart, false); auto *prevPipeSubcallCpart = gfctx.pipeSubcallCpart; auto *prevPipeSubcallTpart = gfctx.pipeSubcallTpart;