From 63ccb36ef3ecd53a503c0e9fea87f0784802af0f Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Sun, 17 May 2020 23:31:59 +0200 Subject: Codechange: Use std::string for most of the user-settable custom names. --- src/depot_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/depot_base.h') 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) -- cgit v1.2.3-54-g00ecf