mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
committed by
Ted John
parent
4be4ed19a3
commit
0ec2b001cb
@@ -231,14 +231,12 @@ 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)
|
||||
void *entryData = get_loaded_object_entry(i);
|
||||
if (entryData == (void *)0xFFFFFFFF)
|
||||
{
|
||||
memset(&_s6.objects[i], 0xFF, sizeof(rct_object_entry));
|
||||
}
|
||||
else
|
||||
*/
|
||||
{
|
||||
_s6.objects[i] = *((rct_object_entry*)entry);
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
extern "C"
|
||||
{
|
||||
#include "../scenario.h"
|
||||
#include "../object_list.h"
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user