[Bug Fix] Resolve Warning due to Virtual Mob Method GetInv() (#2650)

This commit is contained in:
Aeadoin 2022-12-19 16:51:05 -05:00 committed by GitHub
parent f12090d109
commit 083d44d4fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1594,7 +1594,7 @@ protected:
#endif
int GetBaseSkillDamage(EQ::skills::SkillType skill, Mob *target = nullptr);
int64 GetFocusEffect(focusType type, uint16 spell_id, Mob *caster = nullptr, bool from_buff_tic = false);
virtual const EQ::InventoryProfile& GetInv() { return EQ::InventoryProfile(); }
virtual EQ::InventoryProfile& GetInv() { return m_inv; }
void CalculateNewFearpoint();
float FindGroundZ(float new_x, float new_y, float z_offset=0.0);
float FindDestGroundZ(glm::vec3 dest, float z_offset=0.0);
@ -1863,7 +1863,7 @@ protected:
private:
Mob* target;
EQ::InventoryProfile m_inv;
#ifdef BOTS
std::shared_ptr<HealRotation> m_target_of_heal_rotation;