diff --git a/src/server/game/Grids/Cells/Cell.h b/src/server/game/Grids/Cells/Cell.h index 8462680f02..3263e6737c 100644 --- a/src/server/game/Grids/Cells/Cell.h +++ b/src/server/game/Grids/Cells/Cell.h @@ -28,17 +28,8 @@ class WorldObject; struct CellArea { - CellArea() { } CellArea(CellCoord low, CellCoord high) : low_bound(low), high_bound(high) { } - bool operator!() const { return low_bound == high_bound; } - - void ResizeBorders(CellCoord& begin_cell, CellCoord& end_cell) const - { - begin_cell = low_bound; - end_cell = high_bound; - } - CellCoord low_bound; CellCoord high_bound; }; diff --git a/src/server/game/Grids/GridDefines.h b/src/server/game/Grids/GridDefines.h index 08b1a6d7cf..682237e961 100644 --- a/src/server/game/Grids/GridDefines.h +++ b/src/server/game/Grids/GridDefines.h @@ -100,21 +100,10 @@ typedef NGrid template struct CoordPair { - CoordPair(uint32 x=0, uint32 y=0) + CoordPair(uint32 x, uint32 y) : x_coord(x), y_coord(y) { } - CoordPair(const CoordPair &obj) - : x_coord(obj.x_coord), y_coord(obj.y_coord) - { } - - CoordPair & operator=(const CoordPair &obj) - { - x_coord = obj.x_coord; - y_coord = obj.y_coord; - return *this; - } - void dec_x(uint32 val) { if (x_coord > val)