1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

integrate variables: object entry lists

This commit is contained in:
Ted John
2016-06-15 14:59:01 +02:00
committed by Michał Janiszewski
parent 7c9f59f1c5
commit d07b9535c2
18 changed files with 155 additions and 70 deletions

View File

@@ -231,15 +231,18 @@ void S6Exporter::Export()
for (int i = 0; i < 721; i++)
{
rct_object_entry_extended *entry = &(RCT2_ADDRESS(0x00F3F03C, rct_object_entry_extended)[i]);
// FIXME: not sure what's going on in here
/*
if (gObjectList[i] == (void *)0xFFFFFFFF)
{
memset(&_s6.objects[i], 0xFF, sizeof(rct_object_entry));
}
else
*/
{
_s6.objects[i] = *((rct_object_entry*)entry);
}
}
_s6.elapsed_months = gDateMonthsElapsed;