mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-18 05:58:19 +01:00
Fixed wrong state in SFileAddFile
This commit is contained in:
@@ -443,7 +443,7 @@ DWORD SFileAddFile_Init(
|
||||
// Allocate the TMPQFile entry for newly added file
|
||||
hf = CreateWritableHandle(ha, dwFileSize);
|
||||
if(hf == NULL)
|
||||
return false;
|
||||
return GetLastError();
|
||||
|
||||
// Allocate file entry in the MPQ
|
||||
if(dwErrCode == ERROR_SUCCESS)
|
||||
|
||||
Reference in New Issue
Block a user