diff options
author | Homer Horwitz | 2008-10-08 18:48:49 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-10-08 18:48:49 +0000 |
commit | 31107385b6e326f53786260c633e094095047da8 (patch) | |
tree | cf3da151d1e8315bb8a89b290e56c440bb7a129d | |
parent | * minor: Comment out initial regularly occuring EventQueueGet log debug messa... (diff) | |
download | opensim-SC-31107385b6e326f53786260c633e094095047da8.zip opensim-SC-31107385b6e326f53786260c633e094095047da8.tar.gz opensim-SC-31107385b6e326f53786260c633e094095047da8.tar.bz2 opensim-SC-31107385b6e326f53786260c633e094095047da8.tar.xz |
- removed some unnecessary conversions (double -> double)
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs index 253eec6..2a06440 100644 --- a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs | |||
@@ -484,8 +484,8 @@ namespace OpenSim.Region.Environment.Modules.World.Land | |||
484 | 484 | ||
485 | try | 485 | try |
486 | { | 486 | { |
487 | x = Convert.ToInt32(Math.Floor(Convert.ToDouble(x_float) / Convert.ToDouble(4.0))); | 487 | x = Convert.ToInt32(Math.Floor(Convert.ToDouble(x_float) / 4.0)); |
488 | y = Convert.ToInt32(Math.Floor(Convert.ToDouble(y_float) / Convert.ToDouble(4.0))); | 488 | y = Convert.ToInt32(Math.Floor(Convert.ToDouble(y_float) / 4.0)); |
489 | } | 489 | } |
490 | catch (OverflowException) | 490 | catch (OverflowException) |
491 | { | 491 | { |