- removed some unnecessary conversions (double -> double)

0.6.0-stable
Homer Horwitz 2008-10-08 18:48:49 +00:00
parent 9b68428058
commit 31107385b6
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{