From: Michal MalĂ˝ Date: Wed, 19 Aug 2015 21:28:44 +0000 (+0200) Subject: Ignore uncombinable effects in overall combined force calculation X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=b882a97e2162bad7dafb5d7516c21c238d0a60be;p=KLGD_FF_plugin.git Ignore uncombinable effects in overall combined force calculation --- diff --git a/klgd_ff_plugin.c b/klgd_ff_plugin.c index 830257f..30e65da 100644 --- a/klgd_ff_plugin.c +++ b/klgd_ff_plugin.c @@ -341,6 +341,9 @@ static void ffpl_recalc_combined(struct klgd_plugin_private *priv, const unsigne s32 _x; s32 _y; + if (!ffpl_process_memless(priv, ueff)) + continue; + if (eff->state != FFPL_STARTED) continue;