forked from github/server
"Burgwechsel in einer Runde nicht möglich"
This commit is contained in:
parent
b1ac90ff63
commit
ac4f84fc8b
|
@ -1263,13 +1263,14 @@ enter_building(unit * u, order * ord, int id, boolean report)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (leave(u, false)) {
|
if (leave(u, false)) {
|
||||||
u->building = b;
|
|
||||||
if (buildingowner(r, b) == 0) {
|
if (buildingowner(r, b) == 0) {
|
||||||
fset(u, UFL_OWNER);
|
fset(u, UFL_OWNER);
|
||||||
}
|
}
|
||||||
fset(u, UFL_ENTER);
|
fset(u, UFL_ENTER);
|
||||||
|
u->building = b;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue