1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fixed opening save game not changing recommended name

It was originally handled by load_game(), but was changed when the
loadsave window was implemented.
This commit is contained in:
LRFLEW
2015-06-06 22:35:48 -05:00
parent 73acb02946
commit 75903ec2d9

View File

@@ -611,6 +611,7 @@ int game_load_save(const char *path)
log_verbose("loading saved game, %s", path);
strcpy((char*)0x0141EF68, path);
strcpy((char*)RCT2_ADDRESS_SAVED_GAMES_PATH_2, path);
file = fopen(path, "rb");
if (file == NULL) {
log_error("unable to open %s", path);