Skip to content

Commit 75f7879

Browse files
committed
formatting
1 parent cd90509 commit 75f7879

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

src/game/server/swarm/asw_laser_mine.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,9 @@ void CASW_Laser_Mine::SpawnFlipThink()
188188
{
189189
if ( !m_bIsSpawnLanded )
190190
{
191-
CBaseEntity *pParent = GetMoveParent();
192-
SetAbsVelocity( pParent ? pParent->GetAbsVelocity() : Vector( 0, 0, 0 ) );
193-
191+
SetLocalVelocity( vec3_origin );
194192
SetAbsOrigin( m_vecSpawnFlipEndPos );
195193

196-
197194
QAngle angVel( 0, 0, 0 );
198195
SetLocalAngularVelocity( angVel );
199196
/*

src/game/shared/swarm/asw_weapon_laser_mines.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,10 @@ void CASW_Weapon_Laser_Mines::PrimaryAttack( void )
111111
{
112112
#ifdef CLIENT_DLL
113113
if ( !prediction->InPrediction() || prediction->IsFirstTimePredicted() )
114+
#endif
114115
{
115116
pMarine->DoAnimationEvent( PLAYERANIMEVENT_THROW_GRENADE );
116117
}
117-
#else
118-
pMarine->DoAnimationEvent( PLAYERANIMEVENT_THROW_GRENADE );
119-
#endif
120118

121119
// start our delayed attack
122120
m_bShotDelayed = true;

0 commit comments

Comments
 (0)