diff options
| author | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-12 03:09:23 (GMT) |
|---|---|---|
| committer | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-12 03:09:23 (GMT) |
| commit | 7aeb8020ba6e9aaf5724a825e7a0c8240d6e4deb (patch) | |
| tree | cf05735cbd59b6dd5714b596673184cf73917824 /src | |
| parent | ac6fdb49e80a27c86f46da1d7e4112fc15d6ba2f (diff) | |
| download | powder-7aeb8020ba6e9aaf5724a825e7a0c8240d6e4deb.zip powder-7aeb8020ba6e9aaf5724a825e7a0c8240d6e4deb.tar.gz | |
moved nothing display after stickman.
Diffstat (limited to 'src')
| -rw-r--r-- | src/graphics.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/graphics.c b/src/graphics.c index 8bd9c28..7b8d0c0 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1328,13 +1328,6 @@ void draw_parts(pixel *vid) nx = (int)(parts[i].x+0.5f); ny = (int)(parts[i].y+0.5f); - 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 @@ -1362,7 +1355,14 @@ void draw_parts(pixel *vid) isplayer = 1; //It's a secret. Tssss... } - if(t==PT_MWAX&&cmode == 6) + 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(t==PT_MWAX&&cmode == 6) { for(x=-1; x<=1; x++) { |
