We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AddCollisionSoundToList
1 parent 5042766 commit bb0548cCopy full SHA for bb0548c
source/game_sa/Audio/entities/AECollisionAudioEntity.cpp
@@ -68,7 +68,7 @@ void CAECollisionAudioEntity::AddCollisionSoundToList(
68
) {
69
// Find an entry with no sound.
70
const auto e = rng::find_if_not(m_CollisionSoundList, &tCollisionSound::Sound);
71
- if (e != m_CollisionSoundList.end()) {
+ if (e == m_CollisionSoundList.end()) {
72
NOTSA_LOG_WARN("Collision sound list is full");
73
return;
74
}
0 commit comments