mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-16 21:34:01 +02: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:
@@ -30,7 +30,7 @@ std::string sign::getText(Simulation *sim)
|
|||||||
float aheat = 0.0f;
|
float aheat = 0.0f;
|
||||||
if (x>=0 && x<XRES && y>=0 && y<YRES)
|
if (x>=0 && x<XRES && y>=0 && y<YRES)
|
||||||
aheat = sim->hv[y/CELL][x/CELL];
|
aheat = sim->hv[y/CELL][x/CELL];
|
||||||
sprintf(buff, "%3.2f", aheat);
|
sprintf(buff, "%3.2f", aheat-273.15);
|
||||||
}
|
}
|
||||||
else if (!strcmp(signText,"{t}"))
|
else if (!strcmp(signText,"{t}"))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user