mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #4 from timakro/pr_teleport_gun
Fix teleport rifle "backtracking" logic, now pretty sure about this
This commit is contained in:
commit
b1ad69633f
|
@ -187,7 +187,7 @@ void CLaser::DoBounce()
|
|||
if(pHit)
|
||||
Found = GetNearestAirPosPlayer(pHit->m_Pos, &PossiblePos);
|
||||
else
|
||||
Found = GetNearestAirPos(Coltile, m_Pos, &PossiblePos);
|
||||
Found = GetNearestAirPos(m_Pos, m_From, &PossiblePos);
|
||||
|
||||
if (Found && PossiblePos)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue