summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index e258b55cc..e07cd1f8b 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1782,7 +1782,7 @@ CommandCost CmdChangePatchSetting(TileIndex tile, uint32 flags, uint32 p1, uint3
InvalidateWindow(WC_GAME_OPTIONS, 0);
}
- return 0;
+ return CommandCost();
}
/** Top function to save the new value of an element of the Patches struct