mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-29 05:21:01 +01:00
Fix alien controllers facing in idle state (#282)
This commit is contained in:
parent
88e13e8ce1
commit
e51878c45b
@ -669,8 +669,11 @@ void CController::RunTask( Task_t *pTask )
|
|||||||
case TASK_WAIT:
|
case TASK_WAIT:
|
||||||
case TASK_WAIT_FACE_ENEMY:
|
case TASK_WAIT_FACE_ENEMY:
|
||||||
case TASK_WAIT_PVS:
|
case TASK_WAIT_PVS:
|
||||||
MakeIdealYaw( m_vecEnemyLKP );
|
if (m_hEnemy != 0)
|
||||||
ChangeYaw( pev->yaw_speed );
|
{
|
||||||
|
MakeIdealYaw( m_vecEnemyLKP );
|
||||||
|
ChangeYaw( pev->yaw_speed );
|
||||||
|
}
|
||||||
|
|
||||||
if( m_fSequenceFinished )
|
if( m_fSequenceFinished )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user