This commit is contained in:
parent
49b5e96850
commit
d903852b37
4 changed files with 21 additions and 16 deletions
|
|
@ -399,11 +399,8 @@ namespace Server
|
|||
|
||||
fixed ( StaticTile *pTiles = staTiles )
|
||||
{
|
||||
#if !MONO
|
||||
NativeReader.Read( m_Statics.SafeFileHandle.DangerousGetHandle(), pTiles, length );
|
||||
#else
|
||||
NativeReader.Read( m_Statics.Handle, pTiles, length );
|
||||
#endif
|
||||
|
||||
if ( m_Lists == null )
|
||||
{
|
||||
m_Lists = new TileList[8][];
|
||||
|
|
@ -472,11 +469,7 @@ namespace Server
|
|||
|
||||
fixed ( Tile *pTiles = tiles )
|
||||
{
|
||||
#if !MONO
|
||||
NativeReader.Read( m_Map.SafeFileHandle.DangerousGetHandle(), pTiles, 192 );
|
||||
#else
|
||||
NativeReader.Read( m_Map.Handle, pTiles, 192 );
|
||||
#endif
|
||||
}
|
||||
|
||||
return tiles;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue