We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c4cc89 commit cd90509Copy full SHA for cd90509
1 file changed
src/game/server/swarm/asw_laser_mine.cpp
@@ -188,8 +188,8 @@ void CASW_Laser_Mine::SpawnFlipThink()
188
{
189
if ( !m_bIsSpawnLanded )
190
191
- Vector vecVelStop( 0,0,0 );
192
- SetAbsVelocity( vecVelStop );
+ CBaseEntity *pParent = GetMoveParent();
+ SetAbsVelocity( pParent ? pParent->GetAbsVelocity() : Vector( 0, 0, 0 ) );
193
194
SetAbsOrigin( m_vecSpawnFlipEndPos );
195
0 commit comments