From 77992e148caec108dc8f7e9e96ac6f0da30e054e Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 7 Sep 2007 23:16:28 +0000 Subject: [PATCH] another fix for mono --- Server/TileMatrixPatch.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/TileMatrixPatch.cs b/Server/TileMatrixPatch.cs index 2be32f4ec..4e4bfe856 100644 --- a/Server/TileMatrixPatch.cs +++ b/Server/TileMatrixPatch.cs @@ -189,7 +189,7 @@ namespace Server if ( m_TileBuffer.Length < tileCount ) m_TileBuffer = new StaticTile[tileCount]; - StaticTile[] staTiles = m_TileBuffer;//new StaticTile[tileCount]; + StaticTile[] staTiles = m_TileBuffer; fixed ( StaticTile *pTiles = staTiles ) { @@ -220,7 +220,7 @@ namespace Server while ( pCur < pEnd ) { lists[pCur->m_X & 0x7][pCur->m_Y & 0x7].Add( (short)((pCur->m_ID & 0x3FFF) + 0x4000), pCur->m_Z ); - ++pCur; + pCur = pCur + 1; } Tile[][][] tiles = new Tile[8][][];