diff options
author | rubidium <rubidium@openttd.org> | 2007-07-24 13:03:24 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-24 13:03:24 +0000 |
commit | 9c9fc1a79ef08d1c3822bc7a4a1373d84dbfa70b (patch) | |
tree | 5cdf2bf8f653ee2e63246b1d6b2dd6cffe3a62f7 /src/tree_cmd.cpp | |
parent | e66ab3b6f1343968730b9a7069376f5408fb6d4d (diff) | |
download | openttd-9c9fc1a79ef08d1c3822bc7a4a1373d84dbfa70b.tar.xz |
(svn r10672) -Codechange: typify some parameters/variables.
Diffstat (limited to 'src/tree_cmd.cpp')
-rw-r--r-- | src/tree_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp index 8f5500300..a19ff0ce7 100644 --- a/src/tree_cmd.cpp +++ b/src/tree_cmd.cpp @@ -560,7 +560,7 @@ static void TileLoop_Trees(TileIndex tile) case 2: { /* add a neighbouring tree */ TreeType treetype = GetTreeType(tile); - tile += TileOffsByDir(Random() & 7); + tile += TileOffsByDir((Direction)(Random() & 7)); if (!IsTileType(tile, MP_CLEAR) || IsBridgeAbove(tile)) return; |