diff --git a/src/settings.cpp b/src/settings.cpp --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1782,7 +1782,7 @@ CommandCost CmdChangePatchSetting(TileIn InvalidateWindow(WC_GAME_OPTIONS, 0); } - return 0; + return CommandCost(); } /** Top function to save the new value of an element of the Patches struct