1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

Fix 14774: Scenery research always unlocks on load (#14777)

* Fix #14774: Incorrect import of scenery research

Mistake during a refactor caused all scenery to be imported as already researched.

* Update changelog

* Update network version
This commit is contained in:
Duncan
2021-05-28 18:55:19 +01:00
committed by GitHub
parent 380d3a6cbe
commit 21bb949322
3 changed files with 3 additions and 2 deletions

View File

@@ -657,7 +657,7 @@ void set_all_scenery_items_not_invented()
{
for (auto sceneryType = 0; sceneryType < SCENERY_TYPE_COUNT; sceneryType++)
{
std::fill(std::begin(_researchedSceneryItems[sceneryType]), std::end(_researchedSceneryItems[sceneryType]), true);
std::fill(std::begin(_researchedSceneryItems[sceneryType]), std::end(_researchedSceneryItems[sceneryType]), false);
}
}