mirror of
https://github.com/halpz/re3.git
synced 2025-06-30 00:16:22 +00:00
Remove unused audio enum
This commit is contained in:
@ -441,8 +441,8 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
|
||||
m_nPedType = pedType;
|
||||
m_lastSoundStart = 0;
|
||||
m_soundStart = 0;
|
||||
m_lastQueuedSound = SOUND_TOTAL_PED_SOUNDS;
|
||||
m_queuedSound = SOUND_TOTAL_PED_SOUNDS;
|
||||
m_lastQueuedSound = SOUND_NO_SOUND;
|
||||
m_queuedSound = SOUND_NO_SOUND;
|
||||
m_objective = OBJECTIVE_NONE;
|
||||
m_prevObjective = OBJECTIVE_NONE;
|
||||
CharCreatedBy = RANDOM_CHAR;
|
||||
@ -5537,7 +5537,7 @@ CPed::PlayHitSound(CPed *hitTo)
|
||||
S42 = SOUND_FIGHT_PUNCH_FROM_BEHIND_42,
|
||||
S43 = SOUND_FIGHT_KNEE_OR_KICK_43,
|
||||
S44 = SOUND_FIGHT_KICK_44,
|
||||
NO_SND = SOUND_TOTAL_PED_SOUNDS
|
||||
NO_SND = SOUND_NO_SOUND
|
||||
};
|
||||
uint16 hitSoundsByFightMoves[12][10] = {
|
||||
{S39,S42,S43,S43,S39,S39,S39,S39,S39,S42},
|
||||
@ -16283,7 +16283,7 @@ CPed::ServiceTalking(void)
|
||||
} else {
|
||||
m_queuedSound = SOUND_PED_BOMBER;
|
||||
}
|
||||
if (m_queuedSound != SOUND_TOTAL_PED_SOUNDS) {
|
||||
if (m_queuedSound != SOUND_NO_SOUND) {
|
||||
if (m_queuedSound == SOUND_PED_DEATH)
|
||||
m_soundStart = CTimer::GetTimeInMilliseconds() - 1;
|
||||
|
||||
@ -16295,7 +16295,7 @@ CPed::ServiceTalking(void)
|
||||
+ CTimer::GetTimeInMilliseconds()
|
||||
+ CGeneral::GetRandomNumberInRange(0, CommentWaitTime[m_queuedSound - SOUND_PED_DEATH].m_nOverrideFixedDelayTime);
|
||||
m_lastQueuedSound = m_queuedSound;
|
||||
m_queuedSound = SOUND_TOTAL_PED_SOUNDS;
|
||||
m_queuedSound = SOUND_NO_SOUND;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user