mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-02 20:42:36 +02:00
"Molten X" for mouseover with lava, fixes #165
This commit is contained in:
@@ -1944,7 +1944,11 @@ void GameView::OnDraw()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sampleInfo << c->ElementResolve(sample.particle.type) << ", Pressure: " << std::fixed << sample.AirPressure;
|
if(sample.particle.type == PT_LAVA && sample.particle.ctype > 0 && sample.particle.ctype < PT_NUM)
|
||||||
|
sampleInfo << "Molten " << c->ElementResolve(sample.particle.ctype);
|
||||||
|
else
|
||||||
|
sampleInfo << c->ElementResolve(sample.particle.type);
|
||||||
|
sampleInfo << ", Pressure: " << std::fixed << sample.AirPressure;
|
||||||
sampleInfo << ", Temp: " << std::fixed << sample.particle.temp -273.15f;
|
sampleInfo << ", Temp: " << std::fixed << sample.particle.temp -273.15f;
|
||||||
}
|
}
|
||||||
if(sample.particle.type == PT_PHOT)
|
if(sample.particle.type == PT_PHOT)
|
||||||
|
Reference in New Issue
Block a user