diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 73bcfd8..fb9c29c 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -1230,8 +1230,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1230 | 1230 | ||
1231 | bool SitTargetUnOccupied = (!(avOnTargetAlready != UUID.Zero)); | 1231 | bool SitTargetUnOccupied = (!(avOnTargetAlready != UUID.Zero)); |
1232 | bool SitTargetisSet = | 1232 | bool SitTargetisSet = |
1233 | (!(avSitOffSet.X == 0f && avSitOffSet.Y == 0f && avSitOffSet.Z == 0f && avSitOrientation.W == 0f && | 1233 | (!(avSitOffSet.X == 0f && avSitOffSet.Y == 0f && avSitOffSet.Z == 0f && avSitOrientation.W == 1f && |
1234 | avSitOrientation.X == 0f && avSitOrientation.Y == 0f && avSitOrientation.Z == 1f)); | 1234 | avSitOrientation.X == 0f && avSitOrientation.Y == 0f && avSitOrientation.Z == 0f)); |
1235 | 1235 | ||
1236 | if (SitTargetisSet && SitTargetUnOccupied) | 1236 | if (SitTargetisSet && SitTargetUnOccupied) |
1237 | { | 1237 | { |