forked from github/server
unit is inisde a building also when it was not paid for
This commit is contained in:
parent
24ff4c301d
commit
42ae086def
|
@ -1072,7 +1072,7 @@ void transfermen(unit * u, unit * dst, int n)
|
|||
|
||||
struct building *inside_building(const struct unit *u)
|
||||
{
|
||||
if (!u->building || !building_is_active(u->building)) {
|
||||
if (!u->building) {
|
||||
return NULL;
|
||||
}
|
||||
else if (u->building->size < u->building->type->maxsize) {
|
||||
|
|
Loading…
Reference in New Issue