summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r--src/water_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index fa6a654b4..d2afac4f4 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -738,7 +738,7 @@ static void GetTileDesc_Water(TileIndex tile, TileDesc *td)
default: assert(0); break;
}
- td->owner = GetTileOwner(tile);
+ td->owner[0] = GetTileOwner(tile);
}
static void AnimateTile_Water(TileIndex tile)