diff options
author | planetmaker <planetmaker@openttd.org> | 2014-04-12 11:43:04 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2014-04-12 11:43:04 +0000 |
commit | 2aa545a842063d06fe67ccb382b44a8ebcd56b48 (patch) | |
tree | a3ec811e589f227106e5549f59a8411860181072 /src/industry_map.h | |
parent | 911e0e80b88b4830207eed30409cd689d8f3a9ce (diff) | |
download | openttd-2aa545a842063d06fe67ccb382b44a8ebcd56b48.tar.xz |
(svn r26457) -Codechange: Remove unused parameter from SetIndustryCompleted
Diffstat (limited to 'src/industry_map.h')
-rw-r--r-- | src/industry_map.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/industry_map.h b/src/industry_map.h index 14fb99018..7d927a13c 100644 --- a/src/industry_map.h +++ b/src/industry_map.h @@ -85,13 +85,12 @@ IndustryType GetIndustryType(TileIndex tile); /** * Set if the industry that owns the tile as under construction or not * @param tile the tile to query - * @param isCompleted whether it is completed or not * @pre IsTileType(tile, MP_INDUSTRY) */ -static inline void SetIndustryCompleted(TileIndex tile, bool isCompleted) +static inline void SetIndustryCompleted(TileIndex tile) { assert(IsTileType(tile, MP_INDUSTRY)); - SB(_m[tile].m1, 7, 1, isCompleted ? 1 :0); + SB(_m[tile].m1, 7, 1, 1); } /** |