Browse Source

Add missing break.

residual_point
Night Owl 7 years ago
parent
commit
8c2c7cc77c
  1. 2
      dlls/rp/fgrunt.cpp
  2. 2
      dlls/rp/ngrunt.cpp
  3. 2
      dlls/rp/zgrunt.cpp

2
dlls/rp/fgrunt.cpp

@ -319,8 +319,8 @@ void CFGrunt::HandleAnimEvent( MonsterEvent_t *pEvent ) @@ -319,8 +319,8 @@ void CFGrunt::HandleAnimEvent( MonsterEvent_t *pEvent )
SENTENCEG_PlayRndSz( ENT( pev ), "FG_ALERT", HGRUNT_SENTENCE_VOLUME, GRUNT_ATTN, 0, m_voicePitch );
JustSpoke();
}
}
break;
default:
CSquadMonster::HandleAnimEvent( pEvent );
break;

2
dlls/rp/ngrunt.cpp

@ -302,8 +302,8 @@ void CNGrunt::HandleAnimEvent( MonsterEvent_t *pEvent ) @@ -302,8 +302,8 @@ void CNGrunt::HandleAnimEvent( MonsterEvent_t *pEvent )
SENTENCEG_PlayRndSz( ENT( pev ), "NG_ALERT", HGRUNT_SENTENCE_VOLUME, GRUNT_ATTN, 0, m_voicePitch );
JustSpoke();
}
}
break;
default:
CSquadMonster::HandleAnimEvent( pEvent );
break;

2
dlls/rp/zgrunt.cpp

@ -346,8 +346,8 @@ void CZGrunt::HandleAnimEvent( MonsterEvent_t *pEvent ) @@ -346,8 +346,8 @@ void CZGrunt::HandleAnimEvent( MonsterEvent_t *pEvent )
SENTENCEG_PlayRndSz( ENT( pev ), "ZG_ALERT", HGRUNT_SENTENCE_VOLUME, GRUNT_ATTN, 0, m_voicePitch );
JustSpoke();
}
}
break;
default:
CSquadMonster::HandleAnimEvent( pEvent );
break;

Loading…
Cancel
Save