mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +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)
|
if(pHit)
|
||||||
Found = GetNearestAirPosPlayer(pHit->m_Pos, &PossiblePos);
|
Found = GetNearestAirPosPlayer(pHit->m_Pos, &PossiblePos);
|
||||||
else
|
else
|
||||||
Found = GetNearestAirPosLaser(m_Pos, &PossiblePos);
|
Found = GetNearestAirPos(Coltile, m_Pos, &PossiblePos);
|
||||||
|
|
||||||
if (Found && PossiblePos)
|
if (Found && PossiblePos)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue