From 0bd9437a962e8608906ce66cd6819cc1a39b4608 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 9 Dec 2017 11:37:25 +0200 Subject: [PATCH] Fixed loading of external DeHackEd patches https://forum.zdoom.org/viewtopic.php?t=58685 --- src/d_dehacked.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_dehacked.cpp b/src/d_dehacked.cpp index f68fd1d63..cd6525304 100644 --- a/src/d_dehacked.cpp +++ b/src/d_dehacked.cpp @@ -2490,7 +2490,7 @@ bool D_LoadDehFile(const char *patchfile) { FileReader fr; - if (!fr.Open(patchfile)) + if (fr.Open(patchfile)) { PatchSize = fr.GetLength();