forked from github/server
Einhieten, die die Partei wechseln (Monster?) müssen update_interval() aufrufen.
This commit is contained in:
parent
824315dc81
commit
b97cdde5ba
|
@ -832,6 +832,7 @@ u_setfaction(unit * u, faction * f)
|
||||||
u->prevF = NULL;
|
u->prevF = NULL;
|
||||||
|
|
||||||
u->faction = f;
|
u->faction = f;
|
||||||
|
update_interval(f, u->region);
|
||||||
if (cnt && f) {
|
if (cnt && f) {
|
||||||
set_number(u, cnt);
|
set_number(u, cnt);
|
||||||
if (playerrace(u->race)) {
|
if (playerrace(u->race)) {
|
||||||
|
|
Loading…
Reference in New Issue