mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-06 09:18:04 +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:
@@ -1198,7 +1198,7 @@ public:
|
||||
Unit* target = nullptr;
|
||||
Acore::AnyUnfriendlyUnitInObjectRangeCheck u_check(me, me, 0.5f);
|
||||
Acore::UnitLastSearcher<Acore::AnyUnfriendlyUnitInObjectRangeCheck> searcher(me, target, u_check);
|
||||
me->VisitNearbyObject(1.5f, searcher);
|
||||
Cell::VisitAllObjects(me, searcher, 1.5f);
|
||||
if (target)
|
||||
{
|
||||
me->CastSpell(me, SPELL_FROGGER_EXPLODE, true);
|
||||
|
||||
Reference in New Issue
Block a user