Follow up patch for UOP packed map file support, now accounts for the second index table in the Felucca/Trammel map files.
This commit is contained in:
parent
339f2032b9
commit
06975930b9
1 changed files with 4 additions and 1 deletions
|
|
@ -488,7 +488,10 @@ namespace Server
|
|||
int offset = ((x * m_BlockHeight) + y) * 196 + 4;
|
||||
|
||||
if ( m_MapUOPPacked )
|
||||
offset += 0xD88 + ( 12 * ( offset / 0xC4000 ) );
|
||||
{
|
||||
int block = offset / 0xC4000;
|
||||
offset += 0xD88 + ( 0xD54 * ( block / 100 ) ) + ( 12 * block );
|
||||
}
|
||||
|
||||
m_Map.Seek( offset, SeekOrigin.Begin );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue