mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix: Bullets should still work
This commit is contained in:
parent
8be0091d07
commit
a285751c5f
Binary file not shown.
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 70 KiB |
|
@ -145,7 +145,7 @@ void CProjectile::Tick()
|
||||||
{
|
{
|
||||||
TeamMask = pOwnerChar->Teams()->TeamMask(pOwnerChar->Team(), -1, m_Owner);
|
TeamMask = pOwnerChar->Teams()->TeamMask(pOwnerChar->Team(), -1, m_Owner);
|
||||||
}
|
}
|
||||||
else
|
else if (m_Owner >= 0)
|
||||||
{
|
{
|
||||||
GameServer()->m_World.DestroyEntity(this);
|
GameServer()->m_World.DestroyEntity(this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue