diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-19 18:38:10 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-19 18:38:10 +0000 |
commit | 98f66552beadfa14cf28cd126fc462a5abe3087b (patch) | |
tree | 7818a2f346fc9a85d84a2a844989ea1a90136b90 /src/depot.h | |
parent | 9e385d2427fd017e90182aa152e488ce026ace19 (diff) | |
download | openttd-98f66552beadfa14cf28cd126fc462a5abe3087b.tar.xz |
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
Diffstat (limited to 'src/depot.h')
-rw-r--r-- | src/depot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot.h b/src/depot.h index 926f1fa85..2b47452cd 100644 --- a/src/depot.h +++ b/src/depot.h @@ -51,7 +51,7 @@ void ShowDepotWindow(TileIndex tile, VehicleType type); */ static inline Date GetServiceIntervalClamped(uint index) { - return (_patches.servint_ispercent) ? clamp(index, MIN_SERVINT_PERCENT, MAX_SERVINT_PERCENT) : clamp(index, MIN_SERVINT_DAYS, MAX_SERVINT_DAYS); + return (_patches.servint_ispercent) ? Clamp(index, MIN_SERVINT_PERCENT, MAX_SERVINT_PERCENT) : Clamp(index, MIN_SERVINT_DAYS, MAX_SERVINT_DAYS); } /** |