summaryrefslogtreecommitdiff
path: root/src/depot_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/depot_base.h')
-rw-r--r--src/depot_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_base.h b/src/depot_base.h
index aab2b2ae4..f4c52cffe 100644
--- a/src/depot_base.h
+++ b/src/depot_base.h
@@ -18,7 +18,7 @@ extern DepotPool _depot_pool;
struct Depot : DepotPool::PoolItem<&_depot_pool> {
Town *town;
- char *name;
+ std::string name;
TileIndex xy;
uint16 town_cn; ///< The N-1th depot for this town (consecutive number)