refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 (#6113)
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 (cherry picked from commit https://github.com/TrinityCore/TrinityCore/commit/d6201e5dbb7fa7ca8b47ffa6c0d30fa38dceada5) 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:
@@ -1109,7 +1109,7 @@ public:
|
||||
Player* player = nullptr;
|
||||
Acore::AnyPlayerInObjectRangeCheck checker(me, 2.0f);
|
||||
Acore::PlayerSearcher<Acore::AnyPlayerInObjectRangeCheck> searcher(me, player, checker);
|
||||
me->VisitNearbyWorldObject(2.0f, searcher);
|
||||
Cell::VisitWorldObjects(me, searcher, 2.0f);
|
||||
if (player)
|
||||
{
|
||||
player->CastSpell(player, SPELL_DRUNKEN_MASTER, true);
|
||||
|
||||
Reference in New Issue
Block a user