diff options
Diffstat (limited to '')
-rw-r--r-- | src/world/PhysicsEngine.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/world/PhysicsEngine.cs b/src/world/PhysicsEngine.cs index 7585135..4379aa0 100644 --- a/src/world/PhysicsEngine.cs +++ b/src/world/PhysicsEngine.cs | |||
@@ -18,6 +18,13 @@ namespace OpenSim.world | |||
18 | } | 18 | } |
19 | 19 | ||
20 | public void DoStuff(World simworld) { | 20 | public void DoStuff(World simworld) { |
21 | foreach (libsecondlife.LLUUID UUID in simworld.Entities.Keys) | ||
22 | { | ||
23 | if(simworld.Entities[UUID].needupdate) { | ||
24 | simworld.Entities[UUID].position += simworld.Entities[UUID].velocity; | ||
25 | } | ||
26 | |||
27 | } | ||
21 | } | 28 | } |
22 | } | 29 | } |
23 | } | 30 | } |