Compile bug fixes.

This commit is contained in:
whipowill
2022-05-18 17:03:01 -05:00
parent 7b55e7aec4
commit 9a6709f5c1
29 changed files with 148 additions and 148 deletions

View File

@@ -19,7 +19,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
}
private:
static ActionNode* rapid_fire(PlayerbotAI* botAI)
static ActionNode* rapid_fire([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("rapid fire",
/*P*/ nullptr,
@@ -27,7 +27,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* aspect_of_the_pack(PlayerbotAI* botAI)
static ActionNode* aspect_of_the_pack([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("aspect of the pack",
/*P*/ nullptr,
@@ -35,7 +35,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* feign_death(PlayerbotAI* botAI)
static ActionNode* feign_death([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("feign death",
/*P*/ nullptr,
@@ -43,7 +43,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* wing_clip(PlayerbotAI* botAI)
static ActionNode* wing_clip([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("wing clip",
/*P*/ nullptr,
@@ -51,7 +51,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ NextAction::array(0, new NextAction("flee"), nullptr));
}
static ActionNode* raptor_strike(PlayerbotAI* botAI)
static ActionNode* raptor_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("raptor strike",
/*P*/ NextAction::array(0, new NextAction("melee"), nullptr),