"Burgwechsel in einer Runde nicht möglich"
This commit is contained in:
Enno Rehling 2009-08-28 21:10:59 +00:00
parent b1ac90ff63
commit ac4f84fc8b
1 changed files with 3 additions and 2 deletions

View File

@ -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