mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +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_FACE_ENEMY:
|
||||
case TASK_WAIT_PVS:
|
||||
MakeIdealYaw( m_vecEnemyLKP );
|
||||
ChangeYaw( pev->yaw_speed );
|
||||
if (m_hEnemy != 0)
|
||||
{
|
||||
MakeIdealYaw( m_vecEnemyLKP );
|
||||
ChangeYaw( pev->yaw_speed );
|
||||
}
|
||||
|
||||
if( m_fSequenceFinished )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user