diff options
author | Spp <spp@jorge.gr> | 2013-03-25 13:26:48 +0100 |
---|---|---|
committer | Spp <spp@jorge.gr> | 2013-03-25 13:26:48 +0100 |
commit | 1a6a23ec96c7646d2753198f93eaba62d2732a83 (patch) | |
tree | 2ef7e8ffd5201bd6e7bf0a4ddfd768a24e263e82 /src/server/game/Grids/NGrid.h | |
parent | 7c36e3a298ce243631848b94364c185a863d1526 (diff) |
Core/Misc: Minor optimizations (+code changes to reduce differences with 4.3.4 branch)
Core/Logging: Create new logger type "Cheat". Will be used to log all cheat attempts
Diffstat (limited to 'src/server/game/Grids/NGrid.h')
-rw-r--r-- | src/server/game/Grids/NGrid.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/server/game/Grids/NGrid.h b/src/server/game/Grids/NGrid.h index f64c54c8c43..65cdd3a6033 100644 --- a/src/server/game/Grids/NGrid.h +++ b/src/server/game/Grids/NGrid.h @@ -78,15 +78,10 @@ class NGrid { public: typedef Grid<ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES> GridType; - NGrid(uint32 id, int32 x, int32 y, time_t expiry, bool unload = true) - : i_gridId(id) - , i_GridInfo(GridInfo(expiry, unload)) - , i_x(x) - , i_y(y) - , i_cellstate(GRID_STATE_INVALID) - , i_GridObjectDataLoaded(false) - { - } + NGrid(uint32 id, int32 x, int32 y, time_t expiry, bool unload = true) : + i_gridId(id), i_GridInfo(GridInfo(expiry, unload)), i_x(x), i_y(y), + i_cellstate(GRID_STATE_INVALID), i_GridObjectDataLoaded(false) + { } GridType& GetGridType(const uint32 x, const uint32 y) { |