mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
fix style a bit
This commit is contained in:
parent
50c84a60f7
commit
747946b291
|
@ -177,6 +177,7 @@ void CLaser::DoBounce()
|
|||
vec2 PossiblePos;
|
||||
bool Found = false;
|
||||
|
||||
// Check if the laser hits a player.
|
||||
bool pDontHitSelf = g_Config.m_SvOldLaser || (m_Bounces == 0 && !m_WasTele);
|
||||
vec2 At;
|
||||
CCharacter *pHit;
|
||||
|
|
|
@ -177,14 +177,14 @@ void CProjectile::Tick()
|
|||
{
|
||||
if (pOwnerChar->m_HasTeleGrenade)
|
||||
IsTeleValid = true;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case WEAPON_GUN:
|
||||
{
|
||||
if (pOwnerChar->m_HasTeleGun)
|
||||
IsTeleValid = true;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (IsTeleValid)
|
||||
|
|
Loading…
Reference in a new issue