1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

revert fixes

This commit is contained in:
Michał Janiszewski
2016-06-24 22:39:55 +02:00
parent dfa482b1b5
commit 5e30733993

View File

@@ -735,7 +735,7 @@ static bool object_type_ride_load(void *objectEntry, uint32 entryIndex)
typeToRideEntryIndexMap--;
uint8 previous_entry = entryIndex;
while (typeToRideEntryIndexMap < gTypeToRideEntryIndexMap + countof(gTypeToRideEntryIndexMap)){
while (typeToRideEntryIndexMap < RCT2_ADDRESS(0x9E34E4, uint8)){
uint8 backup_entry = *typeToRideEntryIndexMap;
*typeToRideEntryIndexMap++ = previous_entry;
previous_entry = backup_entry;