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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user