@ -153,6 +153,9 @@ void DLLEXPORT CAM_Think( void )
#endif
vec3_t viewangles;
if( gEngfuncs.GetMaxClients() > 1 && CL_IsThirdPerson() )
CAM_ToFirstPerson();
switch( (int)cam_command->value )
{
case CAM_COMMAND_TOTHIRDPERSON:
@ -571,6 +571,7 @@ void CBaseMonster::MonsterThink( void )
//=========================================================
void CBaseMonster::MonsterUse( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value )
if (m_MonsterState == MONSTERSTATE_IDLE)
m_IdealMonsterState = MONSTERSTATE_ALERT;
}
@ -695,7 +695,7 @@ void ScriptEntityCancel( edict_t *pentCine )
if( pTarget )
// make sure their monster is actually playing a script
if( pTarget->m_MonsterState == MONSTERSTATE_SCRIPT )
if( pTarget->m_MonsterState == MONSTERSTATE_SCRIPT || pTarget->m_IdealMonsterState == MONSTERSTATE_SCRIPT )
// tell them do die
pTarget->m_scriptState = CCineMonster::SCRIPT_CLEANUP;