Use GetTempSpellType() for announce check in RaidGroupSay

This commit is contained in:
nytmyr
2025-01-31 17:27:13 -06:00
parent 980aa65ecc
commit a008e75a1c
2 changed files with 8 additions and 36 deletions
+8
View File
@@ -7911,6 +7911,14 @@ void Bot::SetDefaultBotStance() {
}
void Bot::RaidGroupSay(Mob* speaker, const char* msg, ...) {
if (
speaker->CastToBot()->GetTempSpellType() &&
speaker->CastToBot()->GetTempSpellType() != UINT16_MAX &&
!speaker->CastToBot()->GetSpellTypeAnnounceCast(speaker->CastToBot()->GetTempSpellType())
) {
return;
}
char buf[1000];
va_list ap;
va_start(ap, msg);