]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/target/changelevel.qc
Remove uses of LAMBDA(), not handled well by uncrustify
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / target / changelevel.qc
index dc227f17633b50c2da19ee18062e31686e0e1f59..69f444073f16ce31432628d63cc95fa05dfb24fb 100644 (file)
@@ -16,11 +16,11 @@ void target_changelevel_use()
                int plnum = 0;
                int realplnum = 0;
                // let's not count bots
-               FOREACH_CLIENT(IS_PLAYER(it) && IS_REAL_CLIENT(it), LAMBDA(
+               FOREACH_CLIENT(IS_PLAYER(it) && IS_REAL_CLIENT(it), {
                        ++realplnum;
                        if(it.chlevel_targ == self)
                                ++plnum;
-               ));
+               });
                if(plnum < ceil(realplnum * min(1, self.count))) // 70% of players
                        return;
        }