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

0.7.4.1
Justin Clark-Casey (justincc) 2012-03-23 00:54:37 +00:00
parent 40b9b519b8
commit 08b8ebcc7e
1 changed files with 2 additions and 2 deletions

View File

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