diff --git a/src/laws.c b/src/laws.c index 1fab79558..f854ed7ef 100755 --- a/src/laws.c +++ b/src/laws.c @@ -3471,6 +3471,9 @@ static double heal_factor(const unit * u) if (r_isforest(u->region)) { static int rc_cache; static const race *rc_elf; + if (rc_changed(&rc_cache)) { + rc_elf = get_race(RC_ELF); + } if (rc==rc_elf) { static int config; static double elf_regen = 1.0;