We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 338daa8 commit 3e23a45Copy full SHA for 3e23a45
1 file changed
src/schemareader.cpp
@@ -406,7 +406,10 @@ int SchemaReader::ReadDeclClass( CSchemaType_DeclaredClass *type )
406
{
407
// Ugly hack to prevent stringifying corrupted kv3 getter in that class,
408
// otherwise it'll crash when attempted to be retrieved
409
- if(std::strcmp( ci->m_pszName, "CastSphereSATParams_t" ) != 0)
+ if(std::strcmp( ci->m_pszName, "CastSphereSATParams_t" ) != 0 &&
410
+ // This one outputs corrupted string symbols (mostly just pure data bytes of something)
411
+ // which will trip json parsers later
412
+ std::strcmp( ci->m_pszName, "modifiedconvars_t" ) != 0)
413
ReadMetaTags( traits, ci->m_pStaticMetadata, ci->m_nStaticMetadataCount );
414
415
if(ci->m_nBaseClassCount > 0)
0 commit comments