diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/world/AvatarUpdate.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/world/AvatarUpdate.cs b/OpenSim.RegionServer/world/AvatarUpdate.cs index 6c0ace7..34d032c 100644 --- a/OpenSim.RegionServer/world/AvatarUpdate.cs +++ b/OpenSim.RegionServer/world/AvatarUpdate.cs | |||
@@ -10,6 +10,12 @@ namespace OpenSim.world | |||
10 | { | 10 | { |
11 | public override void update() | 11 | public override void update() |
12 | { | 12 | { |
13 | if (this._physActor == null) | ||
14 | { | ||
15 | //HACKHACK: Note to work out why this entity does not have a physics actor | ||
16 | // and prehaps create one. | ||
17 | return; | ||
18 | } | ||
13 | libsecondlife.LLVector3 pos2 = new LLVector3(this._physActor.Position.X, this._physActor.Position.Y, this._physActor.Position.Z); | 19 | libsecondlife.LLVector3 pos2 = new LLVector3(this._physActor.Position.X, this._physActor.Position.Y, this._physActor.Position.Z); |
14 | if (this.updateflag) | 20 | if (this.updateflag) |
15 | { | 21 | { |