Skip to content

Commit

Permalink
fix eclass_xml color assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Garux committed Feb 1, 2024
1 parent 649fcd4 commit 0ead65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiant/eclass_xml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class ClassImporter : public TreeXMLImporter
m_eclass->name_set( name );

const char* color = element.attribute( "color" );
ASSERT_MESSAGE( !string_empty( name ), "color attribute not specified for class " << name );
ASSERT_MESSAGE( !string_empty( color ), "color attribute not specified for class " << name );
string_parse_vector3( color, m_eclass->color );
eclass_capture_state( m_eclass );

Expand Down

0 comments on commit 0ead65d

Please sign in to comment.