mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 10:22:39 +01:00
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
This commit is contained in:
@@ -1973,7 +1973,7 @@ static const SettingDesc *GetSettingDescription(uint index)
|
||||
* The new value is properly clamped to its minimum/maximum when setting
|
||||
* @see _settings
|
||||
*/
|
||||
CommandCost CmdChangeSetting(TileIndex tile, uint32 flags, uint32 p1, uint32 p2, const char *text)
|
||||
CommandCost CmdChangeSetting(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text)
|
||||
{
|
||||
const SettingDesc *sd = GetSettingDescription(p1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user