mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-11-27 15:02:06 +00:00
Updated missing image and colour only image asset names to use materials loaded by the game.
This commit is contained in:
@@ -101,8 +101,8 @@ namespace BSP
|
||||
// These values are BSP linking constants that are required for the link to be successful
|
||||
namespace BSPLinkingConstants
|
||||
{
|
||||
constexpr const char* MISSING_IMAGE_NAME = "missing_image";
|
||||
constexpr const char* COLOR_ONLY_IMAGE_NAME = "color_only_image";
|
||||
constexpr const char* MISSING_IMAGE_NAME = ",mc/lambert1";
|
||||
constexpr const char* COLOR_ONLY_IMAGE_NAME = ",white";
|
||||
|
||||
constexpr const char* DEFAULT_SPAWN_POINT_STRING = R"({
|
||||
"attackers": [
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace BSP
|
||||
surfMaterialAsset = m_context.LoadDependency<AssetMaterial>(missingImageName);
|
||||
if (surfMaterialAsset == nullptr)
|
||||
{
|
||||
con::error("unable to find the missing image texture!");
|
||||
con::error("unable to load the missing image texture {}!", missingImageName);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user