fix(Core/SAI): Allow game objects to use load grid (#23881)

This commit is contained in:
daobashun
2025-11-24 22:52:14 +08:00
committed by GitHub
parent 94b17227ec
commit 10ec051c58

View File

@@ -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: