mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix mistake made by auto complete
This commit is contained in:
parent
df2393c3f0
commit
64656cdc0e
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue