|
|
|
|
@ -95,7 +95,7 @@ void pfile_rename_temp_to_perm()
|
|
|
|
|
|
|
|
|
|
dwIndex = 0; |
|
|
|
|
while (GetTempSaveNames(dwIndex, szTemp)) { |
|
|
|
|
bool result = GetPermSaveNames(dwIndex, szPerm); // DO NOT PUT DIRECTLY INTO ASSERT!
|
|
|
|
|
[[maybe_unused]] bool result = GetPermSaveNames(dwIndex, szPerm); // DO NOT PUT DIRECTLY INTO ASSERT!
|
|
|
|
|
assert(result); |
|
|
|
|
dwIndex++; |
|
|
|
|
if (mpqapi_has_file(szTemp)) { |
|
|
|
|
|