[Cleanup] Control flow defaults missed in recent bot updates (#4817)

This commit is contained in:
JJ
2025-03-29 20:07:31 -04:00
committed by GitHub
parent 82b48fe6e8
commit 950cc4a325
2 changed files with 8 additions and 2 deletions
+4 -2
View File
@@ -10599,6 +10599,8 @@ BotSpell Bot::GetSpellByHealType(uint16 spell_type, Mob* tar) {
return GetBestBotSpellForHealOverTime(this, tar, spell_type);
case BotSpellTypes::GroupHoTHeals:
return GetBestBotSpellForGroupHealOverTime(this, tar, spell_type);
default:
return BotSpell(); // Return an empty BotSpell if no valid spell type is found
}
}
@@ -10650,7 +10652,7 @@ int Bot::GetDefaultSetting(uint16 setting_category, uint16 setting_type, uint8 s
case BotSettingCategories::SpellTypeAnnounceCast:
return GetDefaultSpellTypeAnnounceCast(setting_type, stance);
default:
break;
return 0; // Default return value for unrecognized categories
}
}
@@ -10689,7 +10691,7 @@ int Bot::GetSetting(uint16 setting_category, uint16 setting_type) {
case BotSettingCategories::SpellTypeAnnounceCast:
return GetSpellTypeAnnounceCast(setting_type);
default:
break;
return 0; // Default return value for unrecognized categories
}
}