1
0
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:
Ted John
2016-12-07 12:00:02 +00:00
parent ca27018231
commit 067d364002
7 changed files with 73 additions and 18 deletions

View File

@@ -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