mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-16 00:28:15 +03:00
Initialize m_pevLastInflictor to nullptr to avoid garbage memory (#901)
This commit is contained in:
parent
f882e81efe
commit
6863777b81
@ -33,7 +33,8 @@ class CCSEntity
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CCSEntity() :
|
CCSEntity() :
|
||||||
m_pContainingEntity(nullptr)
|
m_pContainingEntity(nullptr),
|
||||||
|
m_pevLastInflictor(nullptr)
|
||||||
{
|
{
|
||||||
m_ucDmgPenetrationLevel = 0;
|
m_ucDmgPenetrationLevel = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user