- Update to 0.27.0 * Vulkan Renderer * Multiplayer Savegames * Tips & Tricks Page * Naval Overhaul * Observer Flares * New random maps: Foothills, Migration, Coast Range * New skirmish map: Isthmus of Corint * Updated skirmish maps: Watering Holes, Sporades Islands * New and updated art - Remove obsolete patches: * avoid_duplicate_global_symbol_from_asm.patch * no-version-check.patch * PrepareZoneForGC.patch * premake-no-automatic-rpath.patch * fix-gcc13-build.patch * fix-fmt10-build.patch * fix-boost-1.85-build.patch - Add patch (as source as it is appliad via premake build script) * premake-disable-rpath.patch (replaces premake-no-automatic-rpath.patch) OBS-URL: https://build.opensuse.org/request/show/1245851 OBS-URL: https://build.opensuse.org/package/show/games/0ad?expand=0&rev=142
23 lines
892 B
Diff
23 lines
892 B
Diff
--- 0ad-0.0.26-alpha/source/graphics/TextureManager.cpp
|
|
+++ 0ad-0.0.26-alpha/source/graphics/TextureManager.cpp
|
|
@@ -785,7 +785,7 @@
|
|
files.push_back(f);
|
|
p = p / GetWstringFromWpath(*it);
|
|
}
|
|
- return m_TextureConverter.ComputeSettings(GetWstringFromWpath(srcPath.leaf()), files);
|
|
+ return m_TextureConverter.ComputeSettings(GetWstringFromWpath(srcPath.filename()), files);
|
|
}
|
|
|
|
/**
|
|
--- 0ad-0.0.26-alpha/source/lib/file/file_system.cpp
|
|
+++ 0ad-0.0.26-alpha/source/lib/file/file_system.cpp
|
|
@@ -218,7 +218,7 @@
|
|
try
|
|
{
|
|
if(override_if_exists)
|
|
- fs::copy_file(fs::path(path.string()), fs::path(newPath.string()), boost::filesystem::copy_option::overwrite_if_exists);
|
|
+ fs::copy_file(fs::path(path.string()), fs::path(newPath.string()), boost::filesystem::copy_options::overwrite_existing);
|
|
else
|
|
fs::copy_file(fs::path(path.string()), fs::path(newPath.string()));
|
|
}
|