mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 11:55:43 +00:00
refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 (#6113)
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit d6201e5dbb)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: SilverIce <slifeleaf@gmail.com>
* Update CellImpl.h
* w
* more more brackets
* ew
* fix build
This commit is contained in:
@@ -351,7 +351,7 @@ public:
|
||||
std::list<Player*> players;
|
||||
Acore::AnyPlayerExactPositionInGameObjectRangeCheck checker(go, 0.3f);
|
||||
Acore::PlayerListSearcher<Acore::AnyPlayerExactPositionInGameObjectRangeCheck> searcher(go, players, checker);
|
||||
go->VisitNearbyWorldObject(0.3f, searcher);
|
||||
Cell::VisitWorldObjects(go, searcher, 0.3f);
|
||||
|
||||
if (players.size() > 0)
|
||||
{
|
||||
@@ -398,7 +398,7 @@ public:
|
||||
std::list<Player*> players;
|
||||
Acore::AnyPlayerExactPositionInGameObjectRangeCheck checker(go, 0.3f);
|
||||
Acore::PlayerListSearcher<Acore::AnyPlayerExactPositionInGameObjectRangeCheck> searcher(go, players, checker);
|
||||
go->VisitNearbyWorldObject(0.3f, searcher);
|
||||
Cell::VisitWorldObjects(go, searcher, 0.3f);
|
||||
|
||||
if (players.size() > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user