From df7d26053863f5a114902f7ac1672d75762f3654 Mon Sep 17 00:00:00 2001 From: wongit Date: Fri, 21 Feb 2020 22:03:20 +0000 Subject: [PATCH] fix for spawnflags toolstips now showing when bits are skipped (undefined) --- radiant/entityinspector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radiant/entityinspector.cpp b/radiant/entityinspector.cpp index 227f86a7..b7acd486 100644 --- a/radiant/entityinspector.cpp +++ b/radiant/entityinspector.cpp @@ -1055,7 +1055,7 @@ void SurfaceFlags_setEntityClass( EntityClass* eclass ){ gtk_label_set_text( GTK_LABEL( GTK_BIN( widget )->child ), str.c_str() ); - if( const EntityClassAttribute* attribute = eclass->flagAttributes[i] ){ + if( const EntityClassAttribute* attribute = eclass->flagAttributes[spawn_table[i]] ){ EntityAttribute_setTooltip( widget, attribute->m_name.c_str(), attribute->m_description.c_str() ); } }