mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-13 15:23:46 +00:00
[optimization] Fixed several compilation warnings
This commit is contained in:
@@ -56,7 +56,7 @@ float ExpectedGroupDpsValue::Calculate()
|
||||
basic_gs = (level + 5) * 4;
|
||||
} else if (level <= 70) {
|
||||
basic_gs = (85 + (level - 60) * 3) * 4;
|
||||
} else if (level <= 80) {
|
||||
} else {
|
||||
basic_gs = (155 + (level - 70) * 4) * 4;
|
||||
}
|
||||
float gap = mixedGearScore - basic_gs;
|
||||
|
||||
@@ -17,7 +17,7 @@ class Formation : public AiNamedObject
|
||||
{
|
||||
public:
|
||||
Formation(PlayerbotAI* botAI, std::string const name) : AiNamedObject(botAI, name) { }
|
||||
|
||||
virtual ~Formation() = default;
|
||||
virtual std::string const GetTargetName() { return ""; }
|
||||
virtual WorldLocation GetLocation() { return NullLocation; }
|
||||
virtual float GetMaxDistance() { return sPlayerbotAIConfig->followDistance; }
|
||||
|
||||
Reference in New Issue
Block a user