mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-12 03:01:17 +00:00
Update mxdsfile.cpp
0xFFFFFFFF -> -1
This commit is contained in:
parent
c883d68e15
commit
564626fb69
@ -99,7 +99,7 @@ long MxDSFile::ReadChunks()
|
||||
// OFFSET: LEGO1 0x100cc7b0
|
||||
long MxDSFile::Seek(long lOffset, int iOrigin)
|
||||
{
|
||||
return (m_position = m_io.Seek(lOffset, iOrigin)) == 0xFFFFFFFF ? -1 : 0;
|
||||
return (m_position = m_io.Seek(lOffset, iOrigin)) == -1 ? -1 : 0;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100cc7e0
|
||||
@ -127,4 +127,4 @@ long MxDSFile::Close()
|
||||
m_pBuffer = NULL;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user