More material loading constants

This commit is contained in:
Jan committed 2022-07-23 15:50:35 +02:00
1 parent 0cbf234faf
commit 2f948ea54a
3 files changed
+34 -33

No files matched your search

@@ -281,7 +281,7 @@ namespace IW4
const auto blendFunc = ReadStringProperty("blendFunc");
std::string sortKey;
if (sort.empty() || sort == "<default>")
if (sort.empty() || sort == GDT_SORTKEY_DEFAULT)
{
if (materialType == GDT_MATERIAL_TYPE_DISTORTION)
sortKey = GDT_SORTKEY_DISTORTION;