MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ClickTile_Object

Function ClickTile_Object

src/object_cmd.cpp:733–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731}
732
733static bool ClickTile_Object(TileIndex tile)
734{
735 if (!IsObjectType(tile, OBJECT_HQ)) return false;
736
737 ShowCompany(GetTileOwner(tile));
738 return true;
739}
740
741static void AnimateTile_Object(TileIndex tile)
742{

Callers

nothing calls this directly

Calls 3

IsObjectTypeFunction · 0.85
ShowCompanyFunction · 0.85
GetTileOwnerFunction · 0.85

Tested by

no test coverage detected