mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-22 15:19:52 +01:00
Temp. displayed using {aheat} not in celsius
Since it is displayed in celsius for {t}, shouldn't it be for {aheat} too? Just a consistency thing.
This commit is contained in:
parent
fb08400552
commit
d0feba6445
@ -30,7 +30,7 @@ std::string sign::getText(Simulation *sim)
|
||||
float aheat = 0.0f;
|
||||
if (x>=0 && x<XRES && y>=0 && y<YRES)
|
||||
aheat = sim->hv[y/CELL][x/CELL];
|
||||
sprintf(buff, "%3.2f", aheat);
|
||||
sprintf(buff, "%3.2f", aheat-273.15);
|
||||
}
|
||||
else if (!strcmp(signText,"{t}"))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user