"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

View file

@ -1263,14 +1263,15 @@ 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
do_misc(region * r, boolean lasttry) do_misc(region * r, boolean lasttry)