parent
b21d2cbf1d
commit
a9a9907eab
|
|
@ -463,6 +463,7 @@ void EntityClassFGD_parseClass( Tokeniser& tokeniser, bool fixedsize, bool isBas
|
||||||
|| string_equal_nocase( type.c_str(), "studio" )
|
|| string_equal_nocase( type.c_str(), "studio" )
|
||||||
|| string_equal_nocase( type.c_str(), "sprite" )
|
|| string_equal_nocase( type.c_str(), "sprite" )
|
||||||
|| string_equal_nocase( type.c_str(), "color255" )
|
|| string_equal_nocase( type.c_str(), "color255" )
|
||||||
|
|| string_equal_nocase( type.c_str(), "color1" )
|
||||||
|| string_equal_nocase( type.c_str(), "target_source" )
|
|| string_equal_nocase( type.c_str(), "target_source" )
|
||||||
|| string_equal_nocase( type.c_str(), "target_destination" )
|
|| string_equal_nocase( type.c_str(), "target_destination" )
|
||||||
|| string_equal_nocase( type.c_str(), "sound" )
|
|| string_equal_nocase( type.c_str(), "sound" )
|
||||||
|
|
@ -490,6 +491,9 @@ void EntityClassFGD_parseClass( Tokeniser& tokeniser, bool fixedsize, bool isBas
|
||||||
if ( string_equal_nocase( type.c_str(), "studio" ) ) {
|
if ( string_equal_nocase( type.c_str(), "studio" ) ) {
|
||||||
attributeType = "model";
|
attributeType = "model";
|
||||||
}
|
}
|
||||||
|
else if ( string_equal_nocase( type.c_str(), "color1" ) ) {
|
||||||
|
attributeType = "color";
|
||||||
|
}
|
||||||
|
|
||||||
EntityClassAttribute attribute;
|
EntityClassAttribute attribute;
|
||||||
attribute.m_type = attributeType;
|
attribute.m_type = attributeType;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user