]> Devoid-pointer.net GitWeb - KLGD_FF_plugin.git/commitdiff
Ignore uncombinable effects in overall combined force calculation
authorMichal Malý <madcatxster@devoid-pointer.net>
Wed, 19 Aug 2015 21:28:44 +0000 (23:28 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Wed, 19 Aug 2015 21:28:44 +0000 (23:28 +0200)
klgd_ff_plugin.c

index 830257fb79060554499687816dbaab734ce551fd..30e65da7c84eeac0007ff02ffba103db81f21502 100644 (file)
@@ -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;