1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 14:02:59 +01:00

Fix deleting parks from sequence

This commit is contained in:
Ted John
2016-12-05 16:52:42 +00:00
parent 5443ff61cc
commit 921c7596df
5 changed files with 65 additions and 23 deletions

View File

@@ -112,6 +112,12 @@ public:
zip_replace(_zip, index, source);
}
}
void DeleteFile(const utf8 * path) override
{
uint64 index = zip_name_locate(_zip, path, 0);
zip_delete(_zip, index);
}
};
namespace Zip