mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-21 07:04:29 +01:00
+ Support for master-mirror pairs
+ Support for streaming MPQs + Bug fixes
This commit is contained in:
@@ -519,7 +519,7 @@ bool WINAPI SFileOpenPatchArchive(
|
||||
|
||||
if(nError == ERROR_SUCCESS)
|
||||
{
|
||||
if(!FileStream_IsReadOnly(ha->pStream))
|
||||
if(!(ha->dwFlags & MPQ_FLAG_READ_ONLY))
|
||||
nError = ERROR_ACCESS_DENIED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user