Skip to content

Commit

Permalink
game: fixed infinite recursion by using incorrect key on value conver…
Browse files Browse the repository at this point in the history
  • Loading branch information
SanyaSho committed Aug 16, 2022
1 parent d90d4ab commit bc6549e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/shared/baseentity_shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc6549e

Please sign in to comment.