* Thanks to Ahzz, more verbose error messages on the console and possibly a fix to the b*stard Sakai issue.

This commit is contained in:
Teravus Ovares
2008-02-18 07:22:10 +00:00
parent 27afeaec74
commit 81a00dd68f
2 changed files with 58 additions and 34 deletions

View File

@@ -750,7 +750,14 @@ namespace OpenSim.Region.Environment.Scenes
if ((flags & (uint) DCF) != 0)
{
DCFlagKeyPressed = true;
agent_control_v3 += Dir_Vectors[i];
try
{
agent_control_v3 += Dir_Vectors[i];
}
catch (IndexOutOfRangeException)
{
// Why did I get this?
}
if ((m_movementflag & (uint) DCF) == 0)
{
m_movementflag += (byte) (uint) DCF;