P_AddWadFile: Do not I_Error if the file is not loaded due to invalid P_PartialAddGetStage

This commit is contained in:
toaster 2023-03-15 17:31:34 +00:00
parent b6aed379b5
commit e0c9014547

View file

@ -8314,7 +8314,9 @@ boolean P_AddWadFile(const char *wadfilename)
if ((wadnum = P_PartialAddWadFile(wadfilename)) == UINT16_MAX)
return false;
if (P_PartialAddGetStage() >= 0)
P_MultiSetupWadFiles(true);
return true;
}