Fix bug with PIPE where particles would have an incorrect colour if they didn't explicitly set the colr/g/b in its own graphics update
This commit is contained in:
parent
047a39498d
commit
93f5837974
@ -268,6 +268,9 @@ int graphics_PIPE(GRAPHICS_FUNC_ARGS)
|
||||
}
|
||||
else
|
||||
{
|
||||
*colr = PIXR(ptypes[t].pcolors);
|
||||
*colg = PIXR(ptypes[t].pcolors);
|
||||
*colb = PIXR(ptypes[t].pcolors);
|
||||
if (ptypes[t].graphics_func)
|
||||
{
|
||||
(*(ptypes[t].graphics_func))(&tpart, nx, ny, pixel_mode, cola, colr, colg, colb, firea, firer, fireg, fireb);
|
||||
|
Loading…
Reference in New Issue
Block a user