diff --git a/src/cats/plants/juveniles.c b/src/cats/plants/juveniles.c index 34b9096e793918f1a4427610dc1750d8c00de562..010876337f050000f6bd887f89553e0c4cf72d7c 100644 --- a/src/cats/plants/juveniles.c +++ b/src/cats/plants/juveniles.c @@ -96,7 +96,7 @@ cell_maturation(struct cats_grid *grid, struct cats_thread_info *ts, cats_dt_coo struct cats_configuration *conf = ts->conf; // should have been checked in the calling function #ifdef CATS_ON_WINDOWS - if (cell_excluded_by_overlay(conf, row, col) == false) { return 0; } + if (cell_excluded_by_overlay(conf, row, col)) { return 0; } #else if (__builtin_expect(cell_excluded_by_overlay(conf, row, col), false)) { return 0; } #endif diff --git a/src/cats/plants/seeds.c b/src/cats/plants/seeds.c index 2c4b0ecec7ac65b0ef6d720fc36ce65fba95e976..797e98fc5733883ff0b8a98f14a3b288d012d36f 100644 --- a/src/cats/plants/seeds.c +++ b/src/cats/plants/seeds.c @@ -77,7 +77,7 @@ void cell_seed_production(struct cats_grid *grid, cats_dt_coord row, cats_dt_coo const struct cats_configuration *conf = grid->conf; #ifdef CATS_ON_WINDOWS - if (cell_excluded_by_overlay(conf, row, col) == false) { return; } + if (cell_excluded_by_overlay(conf, row, col)) { return; } #else if (__builtin_expect(cell_excluded_by_overlay(conf, row, col), false)) { return; } #endif