From 7d97169351f7462bc7382be5d05685987e78bba2 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 12 Jul 2008 21:07:42 +0000 Subject: * minor: thought up a better name for the last allocated local id --- OpenSim/Region/Environment/Scenes/Scene.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index a0df9a1..05026c3 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -76,7 +76,7 @@ namespace OpenSim.Region.Environment.Scenes /// The last allocated local prim id. When a new local id is requested, the next number in the sequence is /// dispenced. /// - private uint m_localId = 720000; + private uint m_lastAllocatedLocalId = 720000; private readonly Mutex _primAllocateMutex = new Mutex(false); @@ -1505,7 +1505,7 @@ namespace OpenSim.Region.Environment.Scenes uint myID; _primAllocateMutex.WaitOne(); - myID = ++m_localId; + myID = ++m_lastAllocatedLocalId; _primAllocateMutex.ReleaseMutex(); return myID; -- cgit v1.1