mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Different Flicker for Crazy Bullets
This commit is contained in:
parent
4486a7abed
commit
f60817b5c0
|
@ -171,8 +171,8 @@ void CProjectile::Snap(int SnappingClient)
|
|||
if(NetworkClipped(SnappingClient, GetPos(Ct)))
|
||||
return;
|
||||
CCharacter * SnapChar = GameServer()->GetPlayerChar(SnappingClient);
|
||||
int Tick = (Server()->Tick()%Server()->TickSpeed())%6;
|
||||
if (SnapChar && SnapChar->m_Alive && !GameServer()->Collision()->m_pSwitchers[m_Number].m_Status[SnapChar->Team()] && (Tick)) return;
|
||||
int Tick = (Server()->Tick()%Server()->TickSpeed())%((m_Explosive)?6:20);
|
||||
if (SnapChar && SnapChar->m_Alive && !GameServer()->Collision()->m_pSwitchers[m_Number].m_Status[SnapChar->Team()] && (!Tick)) return;
|
||||
|
||||
if
|
||||
(
|
||||
|
|
Loading…
Reference in a new issue