unit is inisde a building also when it was not paid for

This commit is contained in:
Enno Rehling 2015-11-02 14:49:48 +01:00
parent 24ff4c301d
commit 42ae086def
1 changed files with 1 additions and 1 deletions

View File

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