Fix export of invented scenery items

This commit is contained in:
Gymnasiast committed 2018-01-10 23:24:10 +01:00
1 parent 9f8e3240d3
commit ce9a72a4e9
1 file changed
+1 -1
+1 -1
View File
@@ -687,7 +687,7 @@ void S6Exporter::ExportResearchedSceneryItems()
{
Memory::Set(_s6.researched_scenery_items, false, sizeof(_s6.researched_scenery_items));
for (uint16 sceneryEntryIndex = 0; sceneryEntryIndex < RCT2_MAX_RESEARCHED_SCENERY_ITEM_QUADS; sceneryEntryIndex++)
for (uint16 sceneryEntryIndex = 0; sceneryEntryIndex < RCT2_MAX_RESEARCHED_SCENERY_ITEMS; sceneryEntryIndex++)
{
if (scenery_is_invented(sceneryEntryIndex))
{