bugfix: laser_damage was removed from tunes of 0.7 protocol

This commit is contained in:
Pure luck 2020-09-25 17:25:59 +03:00
parent 32c77faecc
commit e7d830a01e

View file

@ -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))
{