diff --git a/ST_resgroups.c b/ST_resgroups.c index 6f39184b..185cd804 100644 --- a/ST_resgroups.c +++ b/ST_resgroups.c @@ -468,8 +468,7 @@ void rgroup_Grow(void) { continue; /* Modify growth rate by temperature calculated in Env_Generate() */ - if (s->tempclass != NoSeason) - tgmod = Env.temp_reduction[s->tempclass]; + tgmod = (s->tempclass == NoSeason) ? 1. : Env.temp_reduction[s->tempclass]; /* Now increase size of the individual plants of current species */ ForEachIndiv(ndv, s) {