mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
- removed some unnecessary conversions (double -> double)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user