summaryrefslogtreecommitdiff
path: root/src/elements/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/pipe.c')
-rw-r--r--src/elements/pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/pipe.c b/src/elements/pipe.c
index 7014536..3ee5262 100644
--- a/src/elements/pipe.c
+++ b/src/elements/pipe.c
@@ -304,11 +304,11 @@ int graphics_PIPE(GRAPHICS_FUNC_ARGS)
{
if (ptypes[t].graphics_func)
{
- (*(ptypes[t].graphics_func))(&tpart, nx, ny, pixel_mode, colr, colg, colb, firea, firer, fireg, fireb);
+ (*(ptypes[t].graphics_func))(&tpart, nx, ny, pixel_mode, cola, colr, colg, colb, firea, firer, fireg, fireb);
}
else
{
- graphics_DEFAULT(&tpart, nx, ny, pixel_mode, colr, colg, colb, firea, firer, fireg, fireb);
+ graphics_DEFAULT(&tpart, nx, ny, pixel_mode, cola, colr, colg, colb, firea, firer, fireg, fireb);
}
}
//*colr = PIXR(ptypes[cpart->tmp&0xFF].pcolors);