mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
a few more test changes and cosmetics
This commit is contained in:
@@ -5287,7 +5287,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
linknumber -= (m_parts.Count + 1);
|
||||
lock (m_sittingAvatars)
|
||||
{
|
||||
if (linknumber >= 0 && linknumber < m_sittingAvatars.Count)
|
||||
if (linknumber < m_sittingAvatars.Count && linknumber >= 0)
|
||||
return m_sittingAvatars[linknumber];
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user