Skip to content

Commit a7d12ca

Browse files
Update Client/mods/deathmatch/logic/CClientExplosionManager.cpp
Co-authored-by: Nico <[email protected]>
1 parent 895e81a commit a7d12ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client/mods/deathmatch/logic/CClientExplosionManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ CExplosion* CClientExplosionManager::Create(eExplosionType explosionType, CVecto
213213
CClientPlayer* localPlayer = m_pManager->GetPlayerManager()->GetLocalPlayer();
214214
if (localPlayer)
215215
{
216-
bool bAllowExplosion = Hook_ExplosionCreation(nullptr, pLocalPlayer->GetGameEntity(), vecPosition, explosionType);
217-
if (!bAllowExplosion)
216+
bool allowExplosion = Hook_ExplosionCreation(nullptr, localPlayer->GetGameEntity(), vecPosition, explosionType);
217+
if (!allowExplosion)
218218
return nullptr;
219219
}
220220
}

0 commit comments

Comments
 (0)