mirror of https://github.com/OpenRCT2/OpenRCT2.git
Possible fix to #543
This commit is contained in:
parent
31ebf03c30
commit
743e27040f
|
@ -477,7 +477,7 @@ int object_get_length(rct_object_entry *entry)
|
||||||
|
|
||||||
rct_object_entry *object_get_next(rct_object_entry *entry)
|
rct_object_entry *object_get_next(rct_object_entry *entry)
|
||||||
{
|
{
|
||||||
char *pos = (char*)entry;
|
uint8 *pos = (char*)entry;
|
||||||
|
|
||||||
// Skip sizeof(rct_object_entry)
|
// Skip sizeof(rct_object_entry)
|
||||||
pos += 16;
|
pos += 16;
|
||||||
|
|
Loading…
Reference in New Issue