mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-16 13:24:02 +02:00
Fix PIPE rendering garbage when carrying PIPE
Broken since 0f1218df0c
where I neglected to port a memset over.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user