Fixed infinite recursion by using incorrect key on value conversation.

This commit is contained in:
ZehM4tt 2016-06-11 07:20:12 +02:00
parent 80cf6f02c3
commit ab6dfaaf5f

View file

@ -408,7 +408,7 @@ bool CBaseEntity::KeyValue( const char *szKeyName, const char *szValue )
}
// Do this so inherited classes looking for 'angles' don't have to bother with 'angle'
return KeyValue( szKeyName, szBuf );
return KeyValue( "angles", szBuf );
}
// NOTE: Have to do these separate because they set two values instead of one