Display 'invalid' ctypes as numbers in HUD
This commit is contained in:
parent
88f97ff2ec
commit
2273233b71
@ -2169,8 +2169,8 @@ void GameView::OnDraw()
|
||||
sampleInfo << " (" << c->ElementResolve(ctype, sample.particle.tmp) << ")";
|
||||
else if (c->IsValidElement(ctype))
|
||||
sampleInfo << " (" << c->ElementResolve(ctype, -1) << ")";
|
||||
else
|
||||
sampleInfo << " ()";
|
||||
else if (ctype)
|
||||
sampleInfo << " (" << ctype << ")";
|
||||
}
|
||||
sampleInfo << ", Temp: " << (sample.particle.temp - 273.15f) << " C";
|
||||
sampleInfo << ", Life: " << sample.particle.life;
|
||||
|
Reference in New Issue
Block a user