From 31107385b6e326f53786260c633e094095047da8 Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Wed, 8 Oct 2008 18:48:49 +0000 Subject: [PATCH] - removed some unnecessary conversions (double -> double) --- .../Environment/Modules/World/Land/LandManagementModule.cs | 4 ++-- 1 file 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 253eec677b..2a06440a95 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 try { - x = Convert.ToInt32(Math.Floor(Convert.ToDouble(x_float) / Convert.ToDouble(4.0))); - y = Convert.ToInt32(Math.Floor(Convert.ToDouble(y_float) / Convert.ToDouble(4.0))); + x = Convert.ToInt32(Math.Floor(Convert.ToDouble(x_float) / 4.0)); + y = Convert.ToInt32(Math.Floor(Convert.ToDouble(y_float) / 4.0)); } catch (OverflowException) {