1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

remove old object_paint calls, replace with new

This commit is contained in:
IntelOrca
2016-01-07 19:01:19 +00:00
parent 01c67b6146
commit 40a4bd1fa8
9 changed files with 134 additions and 118 deletions

View File

@@ -3173,7 +3173,7 @@ rct_track_design *temp_track_get_info(char* path, uint8** preview)
return NULL;
}
if (!object_load(0, &loaded_track->vehicle_object, NULL)){
if (!object_load_chunk(0, &loaded_track->vehicle_object, NULL)){
if (preview != NULL) *preview = NULL;
log_error("Failed to load track (vehicle load fail): %s", path);
return NULL;