fix compile error in windows platform

This commit is contained in:
Yunfan Li
2023-07-19 12:08:15 +08:00
parent 9c1bb63d10
commit f3a0a53457
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ public:
virtual void InitTriggers(std::vector<TriggerNode*> &triggers) override; virtual void InitTriggers(std::vector<TriggerNode*> &triggers) override;
virtual std::string const getName() override { return "melee"; } virtual std::string const getName() override { return "melee"; }
virtual NextAction** getDefaultActions() override; virtual NextAction** getDefaultActions() override;
uint32 GetType() const override { return MeleeCombatStrategy::GetType() | STRATEGY_TYPE_DPS; }
}; };
#endif #endif

View File

@@ -18,7 +18,7 @@ class DpsRogueStrategy : public MeleeCombatStrategy
void InitTriggers(std::vector<TriggerNode*>& triggers) override; void InitTriggers(std::vector<TriggerNode*>& triggers) override;
std::string const getName() override { return "dps"; } std::string const getName() override { return "dps"; }
NextAction** getDefaultActions() override; NextAction** getDefaultActions() override;
virtual int GetType() { return MeleeCombatStrategy::GetType() | STRATEGY_TYPE_DPS; } uint32 GetType() const override { return MeleeCombatStrategy::GetType() | STRATEGY_TYPE_DPS; }
}; };
class StealthedRogueStrategy : public Strategy class StealthedRogueStrategy : public Strategy