Added fail safe in case there's no landing target set

This commit is contained in:
Bronzehawk75 2024-02-11 19:58:51 -05:00
parent f7c9e3d19a
commit 4c55da2d78

View File

@ -1850,7 +1850,14 @@ void CNPC_CombineDropship::InputDropStrider( inputdata_t &inputdata )
} }
#ifdef MAPBASE #ifdef MAPBASE
if (m_iszLandTarget != NULL_STRING)
{
LandCommon(); LandCommon();
}
else
{
SetLandingState(LANDING_STRIDER);
}
#else #else
QAngle angles = GetAbsAngles(); QAngle angles = GetAbsAngles();