summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 2155e7472..ad1480e21 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -968,15 +968,15 @@ static void SetupFarmFieldFence(TileIndex tile, int size, byte type, Axis direct
if (direction == AXIS_X) {
if (north) {
- SetFenceNW(tile, or_);
+ SetFence(tile, DIAGDIR_NW, or_);
} else {
- SetFenceSE(tile, or_);
+ SetFence(tile, DIAGDIR_SE, or_);
}
} else {
if (north) {
- SetFenceNE(tile, or_);
+ SetFence(tile, DIAGDIR_NE, or_);
} else {
- SetFenceSW(tile, or_);
+ SetFence(tile, DIAGDIR_SW, or_);
}
}
}