forked from github/server
initizlize rc_elf
This commit is contained in:
parent
ac4f8d6e7b
commit
e45dc3d68a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue