mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove unused function get_loaded_object_chunk
This commit is contained in:
parent
e3f39bf554
commit
c416c7ca27
|
@ -151,14 +151,6 @@ const rct_object_entry* get_loaded_object_entry(size_t index)
|
|||
return obj->GetObjectEntry();
|
||||
}
|
||||
|
||||
void* get_loaded_object_chunk(size_t index)
|
||||
{
|
||||
ObjectType objectType;
|
||||
ObjectEntryIndex entryIndex;
|
||||
get_type_entry_index(index, &objectType, &entryIndex);
|
||||
return object_entry_get_chunk(objectType, entryIndex);
|
||||
}
|
||||
|
||||
void object_entry_get_name_fixed(utf8* buffer, size_t bufferSize, const rct_object_entry* entry)
|
||||
{
|
||||
bufferSize = std::min(static_cast<size_t>(DAT_NAME_LENGTH) + 1, bufferSize);
|
||||
|
|
|
@ -19,4 +19,3 @@
|
|||
|
||||
void get_type_entry_index(size_t index, ObjectType* outObjectType, ObjectEntryIndex* outEntryIndex);
|
||||
const rct_object_entry* get_loaded_object_entry(size_t index);
|
||||
void* get_loaded_object_chunk(size_t index);
|
||||
|
|
Loading…
Reference in New Issue