Use m_lastFrameTick instead of m_lastUpdate in Scene.GetHealth(). m_lastUpdate is no longer properly updated and is redundant anyway.

0.7.3-extended
Justin Clark-Casey (justincc) 2012-03-23 00:54:37 +00:00
parent 135eeb45d6
commit 88d6c4ec0e
1 changed files with 2 additions and 2 deletions

View File

@ -4457,7 +4457,7 @@ namespace OpenSim.Region.Framework.Scenes
//
int health=1; // Start at 1, means we're up
if ((Util.EnvironmentTickCountSubtract(m_lastUpdate)) < 1000)
if ((Util.EnvironmentTickCountSubtract(m_lastFrameTick)) < 1000)
health += 1;
else
return health;