From 2b2f87e6fca11fc199879c255fa59b04a4e0aa2a Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Wed, 7 Aug 2019 18:16:20 +0200 Subject: [PATCH] gfx-effect-source: Fix validity check Had the check inverted oops. --- source/gfx/gfx-effect-source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gfx/gfx-effect-source.cpp b/source/gfx/gfx-effect-source.cpp index 4f4d49a9..9fbba251 100644 --- a/source/gfx/gfx-effect-source.cpp +++ b/source/gfx/gfx-effect-source.cpp @@ -726,7 +726,7 @@ void gfx::effect_source::effect_source::load_file(std::string file) } } if (_cb_valid) - skip = skip || _cb_valid(prm); + skip = skip || !_cb_valid(prm); if (skip) continue;