summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorCracker64 <cracker642@gmail.com>2011-01-10 14:43:16 (GMT)
committer Cracker64 <cracker642@gmail.com>2011-01-10 14:43:16 (GMT)
commitf242566e30831963eee287b7dbe944b715457dae (patch)
treeca900890b1b52dc75a15ebd41791873bac680f3b /src/main.c
parentd6837437f2eff9a2d020638646ba874a33580227 (diff)
downloadpowder-f242566e30831963eee287b7dbe944b715457dae.zip
powder-f242566e30831963eee287b7dbe944b715457dae.tar.gz
fix QRTZ spot saving, rotate should change FAN vector as well
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 97e7382..557673c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1756,7 +1756,7 @@ int main(int argc, char *argv[])
int tctype = parts[cr>>8].ctype;
if(tctype>=PT_NUM)
tctype = 0;
- sprintf(heattext, "%s (%s), Pressure: %3.2f, Temp: %4.2f C, Life: %d", ptypes[cr&0xFF].name, ptypes[tctype].name, pv[(y/sdl_scale)/CELL][(x/sdl_scale)/CELL], parts[cr>>8].temp-273.15f, parts[cr>>8].life);
+ sprintf(heattext, "%s (%s), Pressure: %3.2f, Temp: %4.2f C, Life: %d,tmp: %d", ptypes[cr&0xFF].name, ptypes[tctype].name, pv[(y/sdl_scale)/CELL][(x/sdl_scale)/CELL], parts[cr>>8].temp-273.15f, parts[cr>>8].life,parts[cr>>8].tmp);
//sprintf(heattext, "%s (%s), Pressure: %3.2f, Temp: %4.2f C, Life: %d", ptypes[cr&0xFF].name, ptypes[parts[cr>>8].ctype].name, pv[(y/sdl_scale)/CELL][(x/sdl_scale)/CELL], parts[cr>>8].temp-273.15f, parts[cr>>8].life);
} else {
sprintf(heattext, "%s, Pressure: %3.2f, Temp: %4.2f C", ptypes[cr&0xFF].name, pv[(y/sdl_scale)/CELL][(x/sdl_scale)/CELL], parts[cr>>8].temp-273.15f);