From 8fcecc93a62291633cc590a6b8e76e3f8ecb1444 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 12 Nov 2019 18:24:56 +0000 Subject: missed a few --- .../Region/CoreModules/World/Terrain/Tests/TerrainModuleTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/CoreModules/World/Terrain') diff --git a/OpenSim/Region/CoreModules/World/Terrain/Tests/TerrainModuleTests.cs b/OpenSim/Region/CoreModules/World/Terrain/Tests/TerrainModuleTests.cs index 6a832bc..9a67966 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/Tests/TerrainModuleTests.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/Tests/TerrainModuleTests.cs @@ -50,11 +50,11 @@ namespace OpenSim.Region.CoreModules.Terrain.Tests // Fillheight of 30 { - double fillHeight = 30; + float fillHeight = 30; tm.InterfaceFillTerrain(new object[] { fillHeight }); - double height = scene.Heightmap[128, 128]; + float height = scene.Heightmap[128, 128]; Assert.AreEqual(fillHeight, height); } @@ -62,11 +62,11 @@ namespace OpenSim.Region.CoreModules.Terrain.Tests // Max fillheight of 30 // According to http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files#Notes_for_Creating_Height_Field_Maps_for_Second_Life { - double fillHeight = 508; + float fillHeight = 508; tm.InterfaceFillTerrain(new object[] { fillHeight }); - double height = scene.Heightmap[128, 128]; + float height = scene.Heightmap[128, 128]; Assert.AreEqual(fillHeight, height); } -- cgit v1.1