mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
apparently 0 is used and NULL not...
This commit is contained in:
parent
ef4505e96d
commit
ee756f2b1a
|
@ -120,7 +120,7 @@ void CProjectile::Tick()
|
|||
if(m_Owner >= 0)
|
||||
pOwnerChar = GameServer()->GetPlayerChar(m_Owner);
|
||||
|
||||
CCharacter *pTargetChr = NULL;
|
||||
CCharacter *pTargetChr = 0;
|
||||
|
||||
if(pOwnerChar ? !(pOwnerChar->m_Hit&CCharacter::DISABLE_HIT_GRENADE) : g_Config.m_SvHit)
|
||||
pTargetChr = GameServer()->m_World.IntersectCharacter(PrevPos, ColPos, m_Freeze ? 1.0f : 6.0f, ColPos, pOwnerChar, m_Owner);
|
||||
|
|
Loading…
Reference in a new issue