From 98f66552beadfa14cf28cd126fc462a5abe3087b Mon Sep 17 00:00:00 2001 From: skidd13 Date: Mon, 19 Nov 2007 18:38:10 +0000 Subject: (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style --- src/town_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/town_map.h') diff --git a/src/town_map.h b/src/town_map.h index 883b33226..1230d8f71 100644 --- a/src/town_map.h +++ b/src/town_map.h @@ -283,7 +283,7 @@ static inline void IncHouseConstructionTick(TileIndex t) /* House is now completed. * Store the year of construction as well, for newgrf house purpose */ SetHouseCompleted(t, true); - _m[t].m5 = clamp(_cur_year - ORIGINAL_BASE_YEAR, 0, 0xFF); + _m[t].m5 = Clamp(_cur_year - ORIGINAL_BASE_YEAR, 0, 0xFF); } } -- cgit v1.2.3-70-g09d2