mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-04-16 22:42:31 +03:00
Clean up code some
This commit is contained in:
parent
216ae3f317
commit
2e5ce552c0
@ -1844,11 +1844,11 @@ void CNPC_CombineDropship::InputDropMines( inputdata_t &inputdata )
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
void CNPC_CombineDropship::InputDropStrider(inputdata_t& inputdata)
|
||||
void CNPC_CombineDropship::InputDropStrider( inputdata_t& inputdata )
|
||||
{
|
||||
if (!m_hContainer || !FClassnameIs(m_hContainer, "npc_strider"))
|
||||
if ( !m_hContainer || !FClassnameIs ( m_hContainer, "npc_strider" ) )
|
||||
{
|
||||
Warning("npc_combinedropship %s was told to drop Strider, but isn't carrying one!\n", STRING(GetEntityName()));
|
||||
Warning("npc_combinedropship %s was told to drop Strider, but isn't carrying one!\n", STRING(GetEntityName()) );
|
||||
return;
|
||||
}
|
||||
|
||||
@ -3041,11 +3041,11 @@ void CNPC_CombineDropship::Hunt( void )
|
||||
// Face our desired position.
|
||||
m_vecDesiredFaceDir = desiredDir;
|
||||
|
||||
if ( GetLandingState() == LANDING_DESCEND || GetLandingState() == LANDING_LEVEL_OUT ||
|
||||
# ifdef MAPBASE
|
||||
GetLandingState() == LANDING_STRIDER ||
|
||||
# endif
|
||||
IsHovering() )
|
||||
#ifdef MAPBASE
|
||||
if ( GetLandingState() == LANDING_DESCEND || GetLandingState() == LANDING_LEVEL_OUT || GetLandingState() == LANDING_STRIDER || IsHovering() )
|
||||
#else
|
||||
if ( GetLandingState() == LANDING_DESCEND || GetLandingState() == LANDING_LEVEL_OUT || IsHovering() )
|
||||
#endif
|
||||
{
|
||||
if ( m_hLandTarget )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user