We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 700b229 commit 87adf44Copy full SHA for 87adf44
Client/mods/deathmatch/logic/CClientExplosionManager.cpp
@@ -49,10 +49,7 @@ bool CClientExplosionManager::Hook_ExplosionCreation(CEntity* pGameExplodingEnti
49
if (!pResponsibleGameEntity)
50
return false;
51
52
- CClientEntity* pResponsible = nullptr;
53
-
54
- if (pResponsibleGameEntity)
55
- pResponsible = pPools->GetClientEntity(reinterpret_cast<DWORD*>(pResponsibleGameEntity->GetInterface()));
+ CClientEntity* const pResponsible = pPools->GetClientEntity(reinterpret_cast<DWORD*>(pResponsibleGameEntity->GetInterface()));;
56
57
if (!pResponsible)
58
0 commit comments