summaryrefslogtreecommitdiff
path: root/src/tree_cmd.cpp
diff options
context:
space:
mode:
authorSamuXarick <43006711+SamuXarick@users.noreply.github.com>2021-02-05 10:00:36 +0000
committerGitHub <noreply@github.com>2021-02-05 11:00:36 +0100
commita4035af3375825ae277f1363c5d814ee55b92d7c (patch)
tree7622810853ec1810ca8c5842ba7d93cf770a439c /src/tree_cmd.cpp
parent5b3fe4ae2741ef014b1a41a21c146d56c7408d6e (diff)
downloadopenttd-a4035af3375825ae277f1363c5d814ee55b92d7c.tar.xz
Codechange: Apply coding style (#8640)
* Fix: Missing or needed spaces * Codechange: Remove space * Codechange: Remove space * Codechange: More missing spaces * Codechange: Missing spaces * Codechange: Remove space * Codechange: Remove space
Diffstat (limited to 'src/tree_cmd.cpp')
-rw-r--r--src/tree_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp
index f4610b569..dee79e1b7 100644
--- a/src/tree_cmd.cpp
+++ b/src/tree_cmd.cpp
@@ -762,7 +762,7 @@ static void TileLoop_Trees(TileIndex tile)
break;
case 6: // final stage of tree destruction
- if (!CanPlantExtraTrees(tile)) {
+ if (!CanPlantExtraTrees(tile)) {
/* if trees can't spread just plant a new one to prevent deforestation */
SetTreeGrowth(tile, 0);
} else if (GetTreeCount(tile) > 1) {