From af1e20d0548c1f922fb9a934fc10dda28137058c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 13 May 2020 14:58:26 +0100 Subject: [PATCH] missing file --- OpenSim/Framework/TerrainData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/TerrainData.cs b/OpenSim/Framework/TerrainData.cs index 0e5e83e253..7242ca6f12 100644 --- a/OpenSim/Framework/TerrainData.cs +++ b/OpenSim/Framework/TerrainData.cs @@ -244,7 +244,7 @@ namespace OpenSim.Framework } } - public unsafe void GetPatchBlock(float[] _block, int px, int py, float sub, float premult) + public unsafe void GetPatchBlock(float* block, int px, int py, float sub, float premult) { int k = 0; int stride = m_heightmap.GetLength(1); @@ -252,7 +252,7 @@ namespace OpenSim.Framework int startX = px * 16 * stride; int endX = (px + 1) * 16 * stride; int startY = py * 16; - fixed(float* block = _block, map = m_heightmap) + fixed(float* map = m_heightmap) { for (int y = startY; y < startY + 16; y++) {