game: fixed infinite recursion by using incorrect key on value conversation. (ValveSoftware/source-sdk-2013#380)
This commit is contained in:
parent
2e969d3890
commit
21c54015a2
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
// 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
|
// NOTE: Have to do these separate because they set two values instead of one
|
||||||
|
|
Loading…
Reference in a new issue