File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Client/mods/deathmatch/logic Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,13 @@ bool CClientExplosionManager::Hook_ExplosionCreation(CEntity* pGameExplodingEnti
69
69
70
70
CClientEntity* const pResponsible = pPools->GetClientEntity (reinterpret_cast <DWORD*>(pResponsibleGameEntity->GetInterface ()));
71
71
72
- if (!pResponsible) {
73
- if (!pGameCreator) return false ;
72
+ if (!pResponsible)
73
+ if (!pGameCreator)
74
+ return false ;
74
75
75
76
CClientPlayer* pLocalPlayer = m_pManager->GetPlayerManager ()->GetLocalPlayer ();
76
- if (!pLocalPlayer || pLocalPlayer->GetGameEntity () != pGameCreator) return false ;
77
+ if (!pLocalPlayer || pLocalPlayer->GetGameEntity () != pGameCreator)
78
+ return false ;
77
79
78
80
eWeaponType explosionWeaponType = GetWeaponTypeFromExplosionType (explosionType);
79
81
You can’t perform that action at this time.
0 commit comments