diff options
author | frosch <frosch@openttd.org> | 2008-01-17 16:55:13 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-01-17 16:55:13 +0000 |
commit | 978a7ca56aa657885ef3cb5fecb9177a5dadb870 (patch) | |
tree | dc097272bb93f6c019f9ed773ae4fdb6106339ea /src/water_cmd.cpp | |
parent | 4f31704e2e295fb06cbe53d43f5665fe8f70aed1 (diff) | |
download | openttd-978a7ca56aa657885ef3cb5fecb9177a5dadb870.tar.xz |
(svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix.
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r-- | src/water_cmd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 0605de526..3ef44acd7 100644 --- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -577,7 +577,8 @@ static void AnimateTile_Water(TileIndex tile) * * @param tile tile to check */ -static inline void MarkTileDirtyIfCanal(TileIndex tile) { +static inline void MarkTileDirtyIfCanal(TileIndex tile) +{ if (IsTileType(tile, MP_WATER) && IsCanal(tile)) MarkTileDirtyByTile(tile); } |