* Get the colour map for an engine. This used for unbuilt engines in the user interface. * @param engine_type ID of engine * @param company ID of company * @return A ready-to-use palette modifier */
| 2121 | * @return A ready-to-use palette modifier |
| 2122 | */ |
| 2123 | PaletteID GetEnginePalette(EngineID engine_type, CompanyID company) |
| 2124 | { |
| 2125 | return GetEngineColourMap(engine_type, company, EngineID::Invalid(), nullptr); |
| 2126 | } |
| 2127 | |
| 2128 | /** |
| 2129 | * Get the colour map for a vehicle. |
no test coverage detected