mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Forgot again(
This commit is contained in:
parent
6b9bbc2d0c
commit
f46b7a58a9
|
@ -101,7 +101,9 @@ void CProjectile::Tick()
|
|||
|
||||
if( (TargetChr && (g_Config.m_SvHit || m_Owner == -1 || TargetChr == OwnerChar)) || Collide)//TODO:TEAM
|
||||
{
|
||||
if(!OwnerChar && OwnerChar->m_Alive && TargetChr->m_Alive && OwnerChar->Team() != TargetChr->Team()) return;
|
||||
if(OwnerChar && TargetChr
|
||||
&& OwnerChar->m_Alive && TargetChr->m_Alive
|
||||
&& OwnerChar->Team() != TargetChr->Team()) return;
|
||||
if(m_Explosive/*??*/ && (!TargetChr || (TargetChr && !m_Freeze)))
|
||||
{
|
||||
GameServer()->CreateExplosion(ColPos, m_Owner, m_Weapon, (m_Owner == -1)?true:false);
|
||||
|
|
Loading…
Reference in a new issue