whoopsie
This commit is contained in:
parent
3d24252a16
commit
1f89c55a78
@ -86,7 +86,7 @@ namespace Assets
|
|||||||
{
|
{
|
||||||
Components::FileSystem::File modelFile(Utils::String::VA("xmodel/%s.iw4xModel", name.data()));
|
Components::FileSystem::File modelFile(Utils::String::VA("xmodel/%s.iw4xModel", name.data()));
|
||||||
|
|
||||||
if (!builder->isPrimaryAsset() && (Components::ZoneBuilder::MatchTechsetsDvar.get<bool>() || !modelFile.exists()))
|
if (!builder->isPrimaryAsset() && (!Components::ZoneBuilder::PreferDiskAssetsDvar.get<bool>() || !modelFile.exists()))
|
||||||
{
|
{
|
||||||
header->model = Components::AssetHandler::FindOriginalAsset(this->getType(), name.data()).model;
|
header->model = Components::AssetHandler::FindOriginalAsset(this->getType(), name.data()).model;
|
||||||
if (header->model) return;
|
if (header->model) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user