This commit is contained in:
parent
d903852b37
commit
2c723b90fc
3 changed files with 71 additions and 7 deletions
|
|
@ -399,8 +399,11 @@ 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][];
|
||||
|
|
@ -469,7 +472,11 @@ 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