diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index cb6adb2..d573b1a 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3151,6 +3151,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3151 | // as wrong walk speed if the camera is rotated. | 3151 | // as wrong walk speed if the camera is rotated. |
3152 | rot.X = 0; | 3152 | rot.X = 0; |
3153 | rot.Y = 0; | 3153 | rot.Y = 0; |
3154 | rot.Normalize(); | ||
3154 | } | 3155 | } |
3155 | 3156 | ||
3156 | Vector3 direc = vec * rot; | 3157 | Vector3 direc = vec * rot; |