Skip to content

Commit c3226fa

Browse files
committed
applying reviews
1 parent 7672b77 commit c3226fa

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Client/mods/deathmatch/logic/CClientExplosionManager.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,13 @@ bool CClientExplosionManager::Hook_ExplosionCreation(CEntity* pGameExplodingEnti
6969

7070
CClientEntity* const pResponsible = pPools->GetClientEntity(reinterpret_cast<DWORD*>(pResponsibleGameEntity->GetInterface()));
7171

72-
if (!pResponsible) {
73-
if (!pGameCreator) return false;
72+
if (!pResponsible)
73+
if (!pGameCreator)
74+
return false;
7475

7576
CClientPlayer* pLocalPlayer = m_pManager->GetPlayerManager()->GetLocalPlayer();
76-
if (!pLocalPlayer || pLocalPlayer->GetGameEntity() != pGameCreator) return false;
77+
if (!pLocalPlayer || pLocalPlayer->GetGameEntity() != pGameCreator)
78+
return false;
7779

7880
eWeaponType explosionWeaponType = GetWeaponTypeFromExplosionType(explosionType);
7981

0 commit comments

Comments
 (0)