mirror of
https://github.com/zeldaret/tmc
synced 2026-09-10 04:11:53 -04:00
Fix paths
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ void DungeonMapAsset::buildToBinary() {
|
||||
file.close();
|
||||
|
||||
auto output_file = util::open_file(buildPath, "w");
|
||||
char byte = 0;
|
||||
int byte = 0;
|
||||
size_t pixels = 0;
|
||||
for (size_t i = 0; i < static_cast<size_t>(fileSize); i++) {
|
||||
switch (data[i]) {
|
||||
|
||||
Vendored
+1
-1
@@ -282,7 +282,7 @@ std::unique_ptr<BaseAsset> getAssetHandlerByType(const std::filesystem::path& pa
|
||||
assetHandler = std::make_unique<PaletteAsset>(path, start, size, asset);
|
||||
} else if (type == "metatilemap" ||
|
||||
type == "metatileset_types" || type == "metatileset" ||
|
||||
type == "map_mapping1" || type == "map_mapping2" || type == "tileset_mapping3" ||
|
||||
type == "map_mapping1" || type == "map_mapping2" ||
|
||||
type == "map_collision") {
|
||||
assetHandler = std::make_unique<MapAsset>(path, start, size, asset);
|
||||
} else if (type == "dungeon_map") {
|
||||
|
||||
Reference in New Issue
Block a user