diff options
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; |