diff --git a/src/server/game/Loot/LootMgr.h b/src/server/game/Loot/LootMgr.h index 43484d2601c..4cf2e58934e 100644 --- a/src/server/game/Loot/LootMgr.h +++ b/src/server/game/Loot/LootMgr.h @@ -345,7 +345,7 @@ struct TC_GAME_API Loot // Only set for inventory items that can be right-click looted uint32 containerID; - Loot(uint32 _gold = 0) : gold(_gold), unlootedCount(0), roundRobinPlayer(), unlootedCurrency(0), loot_type(LOOT_CORPSE), maxDuplicates(1), containerID(0) { } + Loot(uint32 _gold = 0) : gold(_gold), unlootedCount(0), unlootedCurrency(0), roundRobinPlayer(), loot_type(LOOT_CORPSE), maxDuplicates(1), containerID(0) { } ~Loot() { clear(); } // For deleting items at loot removal since there is no backward interface to the Item() diff --git a/src/server/game/Skills/Archaeology/SitePolygonGraph.h b/src/server/game/Skills/Archaeology/SitePolygonGraph.h index eea397d4f13..1195a5270aa 100644 --- a/src/server/game/Skills/Archaeology/SitePolygonGraph.h +++ b/src/server/game/Skills/Archaeology/SitePolygonGraph.h @@ -64,8 +64,8 @@ public: void setX(const float &x) { _pointX = x; _round_p(); } void setY(const float &y) { _pointY = y; _round_p(); } - const float getX() const { return _pointX; } - const float getY() const { return _pointY; } + float getX() const { return _pointX; } + float getY() const { return _pointY; } const SitePolygonGraphNode get() const { return (*this); } @@ -191,7 +191,7 @@ public: const SitePolygonGraphArch getBottom() const { return _archB; } const SitePolygonGraphArch getRight() const { return _archR; } const SitePolygonGraphArch getTop() const { return _archT; } - const bool isNull() const { return _isNull; } + bool isNull() const { return _isNull; } private: SitePolygonGraphArch _archL;