| 501 | } |
| 502 | |
| 503 | static Foundation GetFoundation_Object(TileIndex tile, Slope tileh) |
| 504 | { |
| 505 | const ObjectSpec *spec = ObjectSpec::Get(GetObjectType(tile)); |
| 506 | return spec->IsEnabled() && spec->flags.Test(ObjectFlag::HasNoFoundation) ? FOUNDATION_NONE : FlatteningFoundation(tileh); |
| 507 | } |
| 508 | |
| 509 | /** |
| 510 | * Perform the actual removal of the object from the map. |
no test coverage detected