diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 0a5bfd2..1aecce5 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -519,12 +519,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
519 | 519 | ||
520 | protected internal void AddPhysicalPrim(int number) | 520 | protected internal void AddPhysicalPrim(int number) |
521 | { | 521 | { |
522 | m_physicalPrim++; | 522 | m_physicalPrim += number; |
523 | } | 523 | } |
524 | 524 | ||
525 | protected internal void RemovePhysicalPrim(int number) | 525 | protected internal void RemovePhysicalPrim(int number) |
526 | { | 526 | { |
527 | m_physicalPrim--; | 527 | m_physicalPrim -= number; |
528 | } | 528 | } |
529 | 529 | ||
530 | protected internal void AddToScriptLPS(int number) | 530 | protected internal void AddToScriptLPS(int number) |