From 76a04605d52f37d14109c680a7b12062a82ae58d Mon Sep 17 00:00:00 2001 From: TotallyMehis Date: Mon, 22 Jun 2020 17:56:47 +0300 Subject: [PATCH] Fix infinite recursion on entity "angle" keyvalue ValveSoftware/source-sdk-2013#380 --- mp/src/game/shared/baseentity_shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mp/src/game/shared/baseentity_shared.cpp b/mp/src/game/shared/baseentity_shared.cpp index d3640cc97..2dcf9b82c 100644 --- a/mp/src/game/shared/baseentity_shared.cpp +++ b/mp/src/game/shared/baseentity_shared.cpp @@ -414,7 +414,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