Fixed error reporting on loading malformed DeHackEd patches

This commit is contained in:
alexey.lysiuk 2018-03-21 13:06:41 +02:00
parent 92f10febe8
commit de0a815215

View file

@ -2559,9 +2559,9 @@ static bool DoDehPatch()
}
if (!cont || dversion == -1 || pversion == -1)
{
Printf (PRINT_BOLD, "\"%s\" is not a DeHackEd patch file\n", PatchName);
delete[] PatchName;
delete[] PatchFile;
Printf (PRINT_BOLD, "\"%s\" is not a DeHackEd patch file\n", PatchFile);
return false;
}
}