]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/types/roboortegen.pl
Do not use zero as publication strength
[eurobot/public.git] / src / types / roboortegen.pl
index 2bfd734af093c9f03cbdfe0bcd215bad9889726d..8061347095b08c67e1a1640d9d1b1827d9e470c6 100755 (executable)
@@ -393,7 +393,7 @@ int ${roboorte_name}_roboorte_init(struct ${roboorte_name}_orte_data *data)
 \tORTEDomainProp prop;
 \tORTEInit();
 
-\tif ($data_arg_name->strength < 0)
+\tif ($data_arg_name->strength <= 0)
 \t\t$data_arg_name->strength = $publication_strength;
 
 \tORTEVerbositySetOptions("ALL.0");