mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Fix rename park in sequence
This commit is contained in:
@@ -118,6 +118,12 @@ public:
|
||||
uint64 index = zip_name_locate(_zip, path, 0);
|
||||
zip_delete(_zip, index);
|
||||
}
|
||||
|
||||
void RenameFile(const utf8 * path, const utf8 * newPath) override
|
||||
{
|
||||
uint64 index = zip_name_locate(_zip, path, 0);
|
||||
zip_file_rename(_zip, index, newPath, ZIP_FL_ENC_GUESS);
|
||||
}
|
||||
};
|
||||
|
||||
namespace Zip
|
||||
|
||||
Reference in New Issue
Block a user