mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user