mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 20:32:21 +01:00
Core/Skills: fixed a few warnings
By Ovalord
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user