diff options
Diffstat (limited to 'OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs index 6b647b1..df3ebb9 100644 --- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs +++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |||
@@ -118,8 +118,9 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin | |||
118 | { | 118 | { |
119 | 119 | ||
120 | } | 120 | } |
121 | public override void Simulate(float timeStep) | 121 | public override float Simulate(float timeStep) |
122 | { | 122 | { |
123 | float fps = 0; | ||
123 | for (int i = 0; i < _actors.Count; ++i) | 124 | for (int i = 0; i < _actors.Count; ++i) |
124 | { | 125 | { |
125 | BasicActor actor = _actors[i]; | 126 | BasicActor actor = _actors[i]; |
@@ -164,6 +165,7 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin | |||
164 | actor.Velocity.Z = 0; | 165 | actor.Velocity.Z = 0; |
165 | } | 166 | } |
166 | } | 167 | } |
168 | return fps; | ||
167 | } | 169 | } |
168 | 170 | ||
169 | public override void GetResults() | 171 | public override void GetResults() |