From f5931e1782046a46373f2a2c0e9da1327f1403a8 Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Tue, 8 Aug 2017 22:25:51 +0100 Subject: [PATCH] Fix: Broken assert. Patch applied from https://gist.github.com/LordAro/421dacee7b6911628849beaabc209f0c#file-0004-fix-broken-assert-patch --- src/fios.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fios.cpp b/src/fios.cpp index 8ed01152f0..d9b716ee48 100644 --- a/src/fios.cpp +++ b/src/fios.cpp @@ -77,7 +77,7 @@ void FileList::BuildFileList(AbstractFileType abstract_filetype, SaveLoadOperati { this->Clear(); - assert(fop == SLO_LOAD || SLO_SAVE); + assert(fop == SLO_LOAD || fop == SLO_SAVE); switch (abstract_filetype) { case FT_NONE: break;