another fix for mono
This commit is contained in:
parent
982ea1dfe6
commit
77992e148c
1 changed files with 2 additions and 2 deletions
|
|
@ -189,7 +189,7 @@ namespace Server
|
||||||
if ( m_TileBuffer.Length < tileCount )
|
if ( m_TileBuffer.Length < tileCount )
|
||||||
m_TileBuffer = new StaticTile[tileCount];
|
m_TileBuffer = new StaticTile[tileCount];
|
||||||
|
|
||||||
StaticTile[] staTiles = m_TileBuffer;//new StaticTile[tileCount];
|
StaticTile[] staTiles = m_TileBuffer;
|
||||||
|
|
||||||
fixed ( StaticTile *pTiles = staTiles )
|
fixed ( StaticTile *pTiles = staTiles )
|
||||||
{
|
{
|
||||||
|
|
@ -220,7 +220,7 @@ namespace Server
|
||||||
while ( pCur < pEnd )
|
while ( pCur < pEnd )
|
||||||
{
|
{
|
||||||
lists[pCur->m_X & 0x7][pCur->m_Y & 0x7].Add( (short)((pCur->m_ID & 0x3FFF) + 0x4000), pCur->m_Z );
|
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][][];
|
Tile[][][] tiles = new Tile[8][][];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue