From 55ed12f8d1eb6887d348be03aee5573d44177ffb Mon Sep 17 00:00:00 2001 From: Michael Sartain Date: Thu, 2 Oct 2014 08:25:55 -0700 Subject: Updated the SDK with the latest code from the TF and HL2 branches. --- mp/src/game/server/ServerNetworkProperty.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mp/src/game/server/ServerNetworkProperty.cpp') diff --git a/mp/src/game/server/ServerNetworkProperty.cpp b/mp/src/game/server/ServerNetworkProperty.cpp index 5bd93c18..50641b2d 100644 --- a/mp/src/game/server/ServerNetworkProperty.cpp +++ b/mp/src/game/server/ServerNetworkProperty.cpp @@ -108,6 +108,9 @@ IHandleEntity *CServerNetworkProperty::GetEntityHandle( ) void CServerNetworkProperty::Release() { delete m_pOuter; + // Don't zero m_pOuter or reference any member variables after + // the delete call because the object may be deleted. + //m_pOuter = NULL; } -- cgit v1.2.3