Fix mistake made by auto complete

This commit is contained in:
duncanspumpkin 2019-12-21 12:43:13 +00:00
parent df2393c3f0
commit 64656cdc0e
2 changed files with 2 additions and 2 deletions

View File

@ -799,7 +799,7 @@ private:
dst->overall_view = src->overall_view;
for (int32_t i = 0; i < RCT12_MAX_STATIONS_PER_RIDE; i++)
{
if (src->station_starts->isNull())
if (src->station_starts[i].isNull())
{
dst->stations[i].Start.setNull();
}

View File

@ -521,7 +521,7 @@ public:
for (int32_t i = 0; i < RCT12_MAX_STATIONS_PER_RIDE; i++)
{
if (src->station_starts->isNull())
if (src->station_starts[i].isNull())
{
dst->stations[i].Start.setNull();
}