mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-06-06 10:52:13 +03:00
Added fail safe in case there's no landing target set
This commit is contained in:
parent
f7c9e3d19a
commit
4c55da2d78
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user