diff options
| author | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-12 02:38:43 (GMT) |
|---|---|---|
| committer | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-12 02:38:43 (GMT) |
| commit | c23938eb6a2fd6b01386a398c14d4bfe37d4b4ca (patch) | |
| tree | c7b6ebde9af7da3e1e04442d5adeb674966faa77 /src/graphics.c | |
| parent | bf1d90d7c3283b9a145ea98d6b1802465ea259b4 (diff) | |
| download | powder-c23938eb6a2fd6b01386a398c14d4bfe37d4b4ca.zip powder-c23938eb6a2fd6b01386a398c14d4bfe37d4b4ca.tar.gz | |
Nothing display, for pilojo, called it cracker display for lulz, also won the race against antb, which didnt last long, he went on a baloon trip.
Diffstat (limited to 'src/graphics.c')
| -rw-r--r-- | src/graphics.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/graphics.c b/src/graphics.c index c56d067..8bd9c28 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1328,8 +1328,14 @@ void draw_parts(pixel *vid) nx = (int)(parts[i].x+0.5f); ny = (int)(parts[i].y+0.5f); - - if(cmode!=CM_HEAT) + if(cmode==7)//nothing display + { + cr = PIXR(ptypes[t].pcolors); + cg = PIXG(ptypes[t].pcolors); + cb = PIXB(ptypes[t].pcolors); + blendpixel(vid, nx, ny, cr, cg, cb, 255); + } + else if(cmode!=CM_HEAT) { if(t==PT_STKM) //Just draw head here { |
