mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-18 14:11:16 +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;
|
auto *graphics = elements[t].Graphics;
|
||||||
if (graphics)
|
if (graphics)
|
||||||
{
|
{
|
||||||
Particle tpart;
|
Particle tpart{};
|
||||||
props_pipe_to_part(cpart, &tpart, false);
|
props_pipe_to_part(cpart, &tpart, false);
|
||||||
auto *prevPipeSubcallCpart = gfctx.pipeSubcallCpart;
|
auto *prevPipeSubcallCpart = gfctx.pipeSubcallCpart;
|
||||||
auto *prevPipeSubcallTpart = gfctx.pipeSubcallTpart;
|
auto *prevPipeSubcallTpart = gfctx.pipeSubcallTpart;
|
||||||
|
Reference in New Issue
Block a user