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

Function GetSurnameOptions

src/strings.cpp:1949–1953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1947};
1948
1949static std::span<const std::string_view> GetSurnameOptions()
1950{
1951 if (_settings_game.game_creation.landscape == LandscapeType::Toyland) return _silly_surname_list;
1952 return _surname_list;
1953}
1954
1955/**
1956 * Get the surname of the president with the given seed.

Callers 1

GetSurnameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected