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
1 changed files with 1 additions and 1 deletions

View File

@ -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;