mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Core/SAI): Allow game objects to use load grid (#23881)
This commit is contained in:
@@ -2696,6 +2696,8 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
{
|
||||
if (me && me->FindMap())
|
||||
me->FindMap()->LoadGrid(e.target.x, e.target.y);
|
||||
else if (go && go->FindMap())
|
||||
go->FindMap()->LoadGrid(e.target.x, e.target.y);
|
||||
break;
|
||||
}
|
||||
case SMART_ACTION_PLAYER_TALK:
|
||||
|
||||
Reference in New Issue
Block a user