refactor: split very long statements [skip ci]

This commit is contained in:
jeefo 2025-02-28 05:44:52 +03:00
commit f9aa608a6a
No known key found for this signature in database
GPG key ID: D696786B81B667C8
6 changed files with 38 additions and 8 deletions

View file

@ -243,7 +243,9 @@ void BotConfig::loadChatterConfig () {
MemFile file {};
// chatter initialization
if (game.is (GameFlags::HasBotVoice) && cv_radio_mode.as <int> () == 2 && openConfig ("chatter", "Couldn't open chatter system configuration", &file)) {
if (game.is (GameFlags::HasBotVoice) && cv_radio_mode.as <int> () == 2
&& openConfig ("chatter", "Couldn't open chatter system configuration", &file)) {
m_chatter.clear ();
struct EventMap {