mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix track name null
This commit is contained in:
@@ -476,7 +476,7 @@ rct_track_td6* load_track_design(const char *path)
|
||||
char* default_name = RCT2_ADDRESS(0x009E3504, char);
|
||||
// Copy the track name for use as the default name of this ride
|
||||
while (*++track_name_pointer != '.')*default_name++ = *track_name_pointer;
|
||||
|
||||
*default_name++ = '\0';
|
||||
|
||||
// Read whole file into a buffer
|
||||
fpLength = fsize(fp);
|
||||
|
||||
Reference in New Issue
Block a user