summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index c964d4298..6188aa173 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -243,7 +243,7 @@ struct DepotWindow : Window {
this->sel = INVALID_VEHICLE;
this->generate_list = true;
- this->caption_color = GetTileOwner(tile);
+ this->owner = GetTileOwner(tile);
this->CreateDepotListWindow(type);
this->FindWindowPlacementAndResize(desc);