diff options
| author | Simon <simon@hardwired.org.uk> | 2010-09-16 12:37:53 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2010-09-16 12:37:53 (GMT) |
| commit | 423070a8a1b268154447ae6ff8204344a2c78de6 (patch) | |
| tree | 6f2f9c081652f2bd3857111fb45e90164f9e2a5e /graphics.c | |
| parent | a92da37559aa6e68d9165ff4f69f83517594bcc4 (diff) | |
| download | powder-423070a8a1b268154447ae6ff8204344a2c78de6.zip powder-423070a8a1b268154447ae6ff8204344a2c78de6.tar.gz | |
Fix Part_avg function and COAL, temperature signs
Diffstat (limited to 'graphics.c')
| -rw-r--r-- | graphics.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1950,7 +1950,7 @@ void render_signs(pixel *vid_buf) if(strcmp(signs[i].text, "{t}")==0) { if((pmap[signs[i].y][signs[i].x]>>8)>0 && (pmap[signs[i].y][signs[i].x]>>8)<NPART) - sprintf(buff, "Temp: %4.2f", parts[pmap[signs[i].y][signs[i].x]>>8].temp); //...tempirature + sprintf(buff, "Temp: %4.2f", parts[pmap[signs[i].y][signs[i].x]>>8].temp-273.15); //...tempirature else sprintf(buff, "Temp: 0.00"); //...tempirature drawtext(vid_buf, x+3, y+3, buff, 255, 255, 255, 255); |
