Remove unused function get_loaded_object_chunk

This commit is contained in:
ζeh Matt 2021-09-09 03:21:43 +03:00
parent e3f39bf554
commit c416c7ca27
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
2 changed files with 0 additions and 9 deletions

View File

@ -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);

View File

@ -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);