mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-01 18:13:48 +00:00
refactor(Core): apply clang-tidy modernize-use-bool-literals (#3826)
This commit is contained in:
@@ -747,7 +747,7 @@ public:
|
||||
/// Get a server configuration element (see #WorldConfigs)
|
||||
bool getBoolConfig(WorldBoolConfigs index) const
|
||||
{
|
||||
return index < BOOL_CONFIG_VALUE_COUNT ? m_bool_configs[index] : 0;
|
||||
return index < BOOL_CONFIG_VALUE_COUNT ? m_bool_configs[index] : false;
|
||||
}
|
||||
|
||||
/// Set a server configuration element (see #WorldConfigs)
|
||||
|
||||
Reference in New Issue
Block a user