diff --git a/src/saveload/town_sl.cpp b/src/saveload/town_sl.cpp index dce806121e..0f2f5be9aa 100644 --- a/src/saveload/town_sl.cpp +++ b/src/saveload/town_sl.cpp @@ -269,7 +269,7 @@ static const SaveLoad _town_desc[] = { SLE_CONDVAR(Town, larger_town, SLE_BOOL, SLV_56, SL_MAX_VERSION), SLE_CONDVAR(Town, layout, SLE_UINT8, SLV_113, SL_MAX_VERSION), - SLE_CONDREFLIST(Town, psa_list, REF_STORAGE, SLV_161, SL_MAX_VERSION), + SLE_CONDREFVECTOR(Town, psa_list, REF_STORAGE, SLV_161, SL_MAX_VERSION), SLEG_CONDSTRUCTLIST("supplied", SlTownSupplied, SLV_165, SL_MAX_VERSION), SLEG_CONDSTRUCTLIST("received", SlTownReceived, SLV_165, SL_MAX_VERSION), diff --git a/src/town.h b/src/town.h index ce930bb180..f7fe89babe 100644 --- a/src/town.h +++ b/src/town.h @@ -103,7 +103,7 @@ struct Town : TownPool::PoolItem<&_town_pool> { bool show_zone; ///< NOSAVE: mark town to show the local authority zone in the viewports - std::list psa_list; + std::vector psa_list; /** * Creates a new town.