gfx-effect-source: Fix validity check

Had the check inverted oops.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-08-07 18:16:20 +02:00
parent c88535c7ab
commit 2b2f87e6fc

View file

@ -726,7 +726,7 @@ void gfx::effect_source::effect_source::load_file(std::string file)
} }
} }
if (_cb_valid) if (_cb_valid)
skip = skip || _cb_valid(prm); skip = skip || !_cb_valid(prm);
if (skip) if (skip)
continue; continue;