Clean up code some

This commit is contained in:
Bronzehawk75 2024-02-18 11:12:38 -05:00
parent 216ae3f317
commit 2e5ce552c0

View File

@ -3041,11 +3041,11 @@ void CNPC_CombineDropship::Hunt( void )
// Face our desired position. // Face our desired position.
m_vecDesiredFaceDir = desiredDir; m_vecDesiredFaceDir = desiredDir;
if ( GetLandingState() == LANDING_DESCEND || GetLandingState() == LANDING_LEVEL_OUT ||
#ifdef MAPBASE #ifdef MAPBASE
GetLandingState() == LANDING_STRIDER || if ( GetLandingState() == LANDING_DESCEND || GetLandingState() == LANDING_LEVEL_OUT || GetLandingState() == LANDING_STRIDER || IsHovering() )
#else
if ( GetLandingState() == LANDING_DESCEND || GetLandingState() == LANDING_LEVEL_OUT || IsHovering() )
#endif #endif
IsHovering() )
{ {
if ( m_hLandTarget ) if ( m_hLandTarget )
{ {