Compile bug fixes.

This commit is contained in:
whipowill
2022-05-18 16:10:40 -05:00
parent 8aba7afca7
commit 20bb616804
4 changed files with 7 additions and 8 deletions

View File

@@ -15,9 +15,9 @@ struct Mail;
class MailProcessor
{
public:
virtual bool Before(PlayerbotAI* botAI) { return true; }
virtual bool Before([[maybe_unused]] PlayerbotAI* botAI) { return true; } // unused param - whipowill
virtual bool Process(uint32 index, Mail* mail, PlayerbotAI* botAI) = 0;
virtual bool After(PlayerbotAI* botAI) { return true; }
virtual bool After([[maybe_unused]] PlayerbotAI* botAI) { return true; } // unused param - whipowill
static ObjectGuid FindMailbox(PlayerbotAI* botAI);

View File

@@ -124,7 +124,7 @@ class DeadTrigger : public Trigger
class AoeHealTrigger : public Trigger
{
public:
AoeHealTrigger(PlayerbotAI* botAI, std::string const name, std::string const type, int32 count) : Trigger(botAI, name), count(count) type(type), { } // type after count - whipowill
AoeHealTrigger(PlayerbotAI* botAI, std::string const name, std::string const type, int32 count) : Trigger(botAI, name), count(count), type(type) { } // reorder args - whipowill
bool IsActive() override;
protected: