diff options
author | Charles Krinke | 2008-12-14 02:17:12 +0000 |
---|---|---|
committer | Charles Krinke | 2008-12-14 02:17:12 +0000 |
commit | e6eb571c1d19972fe7eb4c3f7de113b1b91f5e02 (patch) | |
tree | 2140979c8cf3f4d4d2b60a355be65abd659508b9 /OpenSim/Framework/Util.cs | |
parent | Mantis#2811. Thank you kindly, Diva for a patch that resolves (diff) | |
download | opensim-SC-e6eb571c1d19972fe7eb4c3f7de113b1b91f5e02.zip opensim-SC-e6eb571c1d19972fe7eb4c3f7de113b1b91f5e02.tar.gz opensim-SC-e6eb571c1d19972fe7eb4c3f7de113b1b91f5e02.tar.bz2 opensim-SC-e6eb571c1d19972fe7eb4c3f7de113b1b91f5e02.tar.xz |
Mantis#2725. Thank you kindly, Diva, for a patch that:
Adds missing protocol pieces for EstablishAgentCommunication
event which allows the client to activate CAPS and the EQ for
child agents.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Util.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 23bdb94..4cc7134 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -350,7 +350,7 @@ namespace OpenSim.Framework | |||
350 | public static bool IsOutsideView(uint oldx, uint newx, uint oldy, uint newy) | 350 | public static bool IsOutsideView(uint oldx, uint newx, uint oldy, uint newy) |
351 | { | 351 | { |
352 | // Eventually this will be a function of the draw distance / camera position too. | 352 | // Eventually this will be a function of the draw distance / camera position too. |
353 | return ((Math.Abs((int)(oldx - newx)) > 1) || (Math.Abs((int)(oldy - newy)) > 1)); | 353 | return (((int)Math.Abs((int)(oldx - newx)) > 1) || ((int)Math.Abs((int)(oldy - newy)) > 1)); |
354 | } | 354 | } |
355 | 355 | ||
356 | public static string FieldToString(byte[] bytes) | 356 | public static string FieldToString(byte[] bytes) |