diff options
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) |