equal
deleted
inserted
replaced
422 _current_player = OWNER_TOWN; |
422 _current_player = OWNER_TOWN; |
423 |
423 |
424 if (hs->building_flags & BUILDING_HAS_1_TILE && |
424 if (hs->building_flags & BUILDING_HAS_1_TILE && |
425 HASBIT(t->flags12, TOWN_IS_FUNDED) && |
425 HASBIT(t->flags12, TOWN_IS_FUNDED) && |
426 CanDeleteHouse(tile) && |
426 CanDeleteHouse(tile) && |
|
427 max(_cur_year - GetHouseConstructionYear(tile), 0) >= hs->minimum_life && |
427 --t->time_until_rebuild == 0) { |
428 --t->time_until_rebuild == 0) { |
428 t->time_until_rebuild = GB(r, 16, 8) + 192; |
429 t->time_until_rebuild = GB(r, 16, 8) + 192; |
429 |
430 |
430 ClearTownHouse(t, tile); |
431 ClearTownHouse(t, tile); |
431 |
432 |