mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
make laser telegun use the new function
This commit is contained in:
parent
2bee4a9807
commit
b811d18422
|
@ -189,7 +189,7 @@ void CLaser::DoBounce()
|
|||
if(pHit)
|
||||
Found = GetNearestAirPosPlayer(pHit->m_Pos, &PossiblePos);
|
||||
else
|
||||
Found = GetNearestAirPosLaser(m_Pos, &PossiblePos);
|
||||
Found = GetNearestAirPos(Coltile, m_Pos, &PossiblePos);
|
||||
|
||||
if (Found && PossiblePos)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue