Modified if() statement in renderOverlay() which determines if timeScale is either -1.0 or 1.0.

ver1_5_1
Clint Weisbrod 2001-12-05 05:31:09 +00:00
parent e49bff6ecc
commit a3f3570be7
1 changed files with 1 additions and 1 deletions

View File

@ -1020,7 +1020,7 @@ void CelestiaCore::renderOverlay()
else
{
double timeScale = sim->getTimeScale();
if ((abs(timeScale) - 1) < 1e-6)
if (abs(abs(timeScale) - 1) < 1e-6)
{
if (sign(timeScale) == 1)
*overlay << "Real time";