summaryrefslogtreecommitdiff
path: root/graphics.c
diff options
context:
space:
mode:
authorPhil <cracker642@gmail.com>2010-09-11 02:18:59 (GMT)
committer Phil <cracker642@gmail.com>2010-09-11 02:18:59 (GMT)
commita20e247674b7ceb210c2d9e1335cd90d8d4a547c (patch)
treee113ffa9987c9e2ea5412c1a54f3b62d6100be7d /graphics.c
parent6d70d1fdee6d6ffabbc5393af13afeabd0ac2d9c (diff)
downloadpowder-a20e247674b7ceb210c2d9e1335cd90d8d4a547c.zip
powder-a20e247674b7ceb210c2d9e1335cd90d8d4a547c.tar.gz
New temp saving system, only loads from saves it makes right now, but it allows for much more temp accuracy, less than 1 degree.
Diffstat (limited to 'graphics.c')
-rw-r--r--graphics.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics.c b/graphics.c
index 1e5fd5d..0a83db5 100644
--- a/graphics.c
+++ b/graphics.c
@@ -1431,9 +1431,9 @@ void draw_parts(pixel *vid)
if(cmode == 3||cmode==4 || cmode==6)
{
vid[ny*(XRES+BARSIZE)+nx] = PIXRGB(parts[i].tmp,parts[i].ctype,parts[i].flags);
- cg = parts[i].tmp/5;
- cb = parts[i].ctype/5;
- cr = parts[i].flags/5;
+ cg = parts[i].tmp/4;
+ cb = parts[i].ctype/4;
+ cr = parts[i].flags/4;
x = nx/CELL;
y = ny/CELL;
cg += fire_g[y][x];