mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- Fixed not getting the 'old and unsupported DeHackEd patch' error message for some old patch versions.
This commit is contained in:
parent
d58169f1b0
commit
88bebaec39
1 changed files with 1 additions and 1 deletions
|
@ -2536,7 +2536,7 @@ static bool DoDehPatch()
|
||||||
cont = 0;
|
cont = 0;
|
||||||
if (0 == strncmp (PatchFile, "Patch File for DeHackEd v", 25))
|
if (0 == strncmp (PatchFile, "Patch File for DeHackEd v", 25))
|
||||||
{
|
{
|
||||||
if (PatchFile[25] < '3' && PatchFile[25] != '2' && PatchFile[27] != '3')
|
if (PatchFile[25] < '3' && (PatchFile[25] < '2' || PatchFile[27] < '3'))
|
||||||
{
|
{
|
||||||
Printf (PRINT_BOLD, "\"%s\" is an old and unsupported DeHackEd patch\n", PatchName);
|
Printf (PRINT_BOLD, "\"%s\" is an old and unsupported DeHackEd patch\n", PatchName);
|
||||||
delete[] PatchName;
|
delete[] PatchName;
|
||||||
|
|
Loading…
Reference in a new issue