mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 00:01:53 +02:00
Added skydome support.
This commit is contained in:
@@ -68,6 +68,15 @@ const char *idEditorEntity::GetKeyString(int iIndex)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const idMaterial* idEditorEntity::GetKeyMaterial(const char* key, const char* defaultMaterial) {
|
||||
const char* value = ValueForKey(key);
|
||||
|
||||
if (value == NULL || value[0] == 0) {
|
||||
value = defaultMaterial;
|
||||
}
|
||||
|
||||
return declManager->FindMaterial(value, false);
|
||||
}
|
||||
|
||||
/*
|
||||
=======================================================================================================================
|
||||
|
||||
Reference in New Issue
Block a user