diff --git a/dGame/dComponents/BuffComponent.h b/dGame/dComponents/BuffComponent.h index ec550e1e..507e53a0 100644 --- a/dGame/dComponents/BuffComponent.h +++ b/dGame/dComponents/BuffComponent.h @@ -26,24 +26,6 @@ struct BuffParameter { * Meta information about a buff that can be applied, e.g. how long it's applied, who applied it, etc. */ struct Buff { - bool operator==(const Buff& other) const { - return id == other.id && - time == other.time && - tick == other.tick && - tickTime == other.tickTime && - stacks == other.stacks && - source == other.source && - behaviorID == other.behaviorID && - cancelOnDamaged == other.cancelOnDamaged && - cancelOnDeath == other.cancelOnDeath && - cancelOnLogout == other.cancelOnLogout && - cancelOnRemoveBuff == other.cancelOnRemoveBuff && - cancelOnUi == other.cancelOnUi && - cancelOnUnequip == other.cancelOnUnequip && - cancelOnZone == other.cancelOnZone && - applyOnTeammates == other.applyOnTeammates && - refCount == other.refCount; - } int32_t id = 0; float time = 0; float tick = 0; @@ -152,9 +134,6 @@ public: */ const std::vector& GetBuffParameters(int32_t buffId); - const std::map& GetBuffs() const { return m_Buffs; } - const std::set& GetBuffsToRemove() const { return m_BuffsToRemove; } - private: /** * The currently active buffs