mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
bugfix: laser_damage was removed from tunes of 0.7 protocol
This commit is contained in:
parent
32c77faecc
commit
e7d830a01e
|
@ -676,7 +676,12 @@ void CGameContext::SendTuningParams(int ClientID, int Zone)
|
|||
{
|
||||
if (m_apPlayers[ClientID] && m_apPlayers[ClientID]->GetCharacter())
|
||||
{
|
||||
if((i==31) // collision
|
||||
if((i==30) // laser_damage is removed from 0.7
|
||||
&& (Server()->IsSixup(ClientID)))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else if((i==31) // collision
|
||||
&& (m_apPlayers[ClientID]->GetCharacter()->NeededFaketuning() & FAKETUNE_SOLO
|
||||
|| m_apPlayers[ClientID]->GetCharacter()->NeededFaketuning() & FAKETUNE_NOCOLL))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue