Syntax clarity

This commit is contained in:
smallmodel 2023-10-30 23:00:21 +01:00
parent 78c481d725
commit c741591a36
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -8834,7 +8834,7 @@ void Actor::CuriousSound(int iType, vec3_t sound_origin, float fDistSquared, flo
}
}
if ((fRangeFactor * m_fSoundAwareness) < rand() / 21474836.0) {
if ((fRangeFactor * m_fSoundAwareness) < (rand() / 21474836.0)) {
return;
}