|
|
@ -571,7 +571,8 @@ void CBaseMonster::MonsterThink( void ) |
|
|
|
//=========================================================
|
|
|
|
//=========================================================
|
|
|
|
void CBaseMonster::MonsterUse( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value ) |
|
|
|
void CBaseMonster::MonsterUse( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
m_IdealMonsterState = MONSTERSTATE_ALERT; |
|
|
|
if (m_MonsterState == MONSTERSTATE_IDLE) |
|
|
|
|
|
|
|
m_IdealMonsterState = MONSTERSTATE_ALERT; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//=========================================================
|
|
|
|
//=========================================================
|
|
|
|