forked from github/server
duh. undo der änderung in korrektur
This commit is contained in:
parent
ddff77b86f
commit
d2f242122d
|
@ -2760,10 +2760,10 @@ heal_all(void)
|
||||||
for(r=regions; r; r=r->next) {
|
for(r=regions; r; r=r->next) {
|
||||||
for(u=r->units;u;u=u->next) {
|
for(u=r->units;u;u=u->next) {
|
||||||
int max_hp = unit_max_hp(u) * u->number;
|
int max_hp = unit_max_hp(u) * u->number;
|
||||||
/* if(u->hp < max_hp) { */
|
if(u->hp < max_hp) {
|
||||||
u->hp = max_hp;
|
u->hp = max_hp;
|
||||||
fset(u->faction, FL_DH);
|
fset(u->faction, FL_DH);
|
||||||
/* } */
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue