diff options
author | Teravus Ovares | 2008-02-18 07:22:10 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-02-18 07:22:10 +0000 |
commit | 81a00dd68f38d0f76abe85fed3c08f7d5150eb65 (patch) | |
tree | f9df7135a862d045e668911202e3196ee766dd11 /OpenSim/Region/Environment/Scenes/ScenePresence.cs | |
parent | * Added /even more/ debugging messages to the UDP server to help people in re... (diff) | |
download | opensim-SC_OLD-81a00dd68f38d0f76abe85fed3c08f7d5150eb65.zip opensim-SC_OLD-81a00dd68f38d0f76abe85fed3c08f7d5150eb65.tar.gz opensim-SC_OLD-81a00dd68f38d0f76abe85fed3c08f7d5150eb65.tar.bz2 opensim-SC_OLD-81a00dd68f38d0f76abe85fed3c08f7d5150eb65.tar.xz |
* Thanks to Ahzz, more verbose error messages on the console and possibly a fix to the b*stard Sakai issue.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 84ee9c4..8e5907c 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -750,7 +750,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
750 | if ((flags & (uint) DCF) != 0) | 750 | if ((flags & (uint) DCF) != 0) |
751 | { | 751 | { |
752 | DCFlagKeyPressed = true; | 752 | DCFlagKeyPressed = true; |
753 | agent_control_v3 += Dir_Vectors[i]; | 753 | try |
754 | { | ||
755 | agent_control_v3 += Dir_Vectors[i]; | ||
756 | } | ||
757 | catch (IndexOutOfRangeException) | ||
758 | { | ||
759 | // Why did I get this? | ||
760 | } | ||
754 | if ((m_movementflag & (uint) DCF) == 0) | 761 | if ((m_movementflag & (uint) DCF) == 0) |
755 | { | 762 | { |
756 | m_movementflag += (byte) (uint) DCF; | 763 | m_movementflag += (byte) (uint) DCF; |