summaryrefslogtreecommitdiff
path: root/src/elements/pipe.c
diff options
context:
space:
mode:
authorSavely Skresanov <savask@yandex.ru>2012-06-02 14:53:38 (GMT)
committer Savely Skresanov <savask@yandex.ru>2012-06-02 14:59:25 (GMT)
commit7f5408f196002476c4765f1cae833e1441e4b276 (patch)
tree4c5472506662dcb46fd2344c0129443a3a61c3aa /src/elements/pipe.c
parent939265a77de93fd6e9b5136ad948fc16ce077918 (diff)
downloadpowder-7f5408f196002476c4765f1cae833e1441e4b276.zip
powder-7f5408f196002476c4765f1cae833e1441e4b276.tar.gz
Moved soap and stick men graphics things to special functions.
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 aa6e16b..9d7a4b1 100644
--- a/src/elements/pipe.c
+++ b/src/elements/pipe.c
@@ -292,11 +292,11 @@ int graphics_PIPE(GRAPHICS_FUNC_ARGS)
*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);
+ (*(ptypes[t].graphics_func))(&tpart, nx, ny, pixel_mode, cola, colr, colg, colb, firea, firer, fireg, fireb, vid);
}
else
{
- graphics_DEFAULT(&tpart, nx, ny, pixel_mode, cola, colr, colg, colb, firea, firer, fireg, fireb);
+ graphics_DEFAULT(&tpart, nx, ny, pixel_mode, cola, colr, colg, colb, firea, firer, fireg, fireb, vid);
}
}
//*colr = PIXR(ptypes[cpart->tmp&0xFF].pcolors);