mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
[Bug Fix] EVENT_ENTER_AREA/EVENT_LEAVE_AREA. (#2698)
Should be EventPlayer, not EventNPC.
This commit is contained in:
parent
3e4231c662
commit
7e13d07108
@ -4028,9 +4028,9 @@ void EntityList::ProcessMove(Client *c, const glm::vec3& location)
|
||||
} else if (evt.event_id == EVENT_EXIT) {
|
||||
parse->EventPlayer(EVENT_EXIT, evt.client, "", 0);
|
||||
} else if (evt.event_id == EVENT_ENTER_AREA) {
|
||||
parse->EventNPC(EVENT_ENTER_AREA, evt.npc, evt.client, "", 0, &args);
|
||||
parse->EventPlayer(EVENT_ENTER_AREA, evt.client, "", 0, &args);
|
||||
} else if (evt.event_id == EVENT_LEAVE_AREA) {
|
||||
parse->EventNPC(EVENT_LEAVE_AREA, evt.npc, evt.client, "", 0, &args);
|
||||
parse->EventPlayer(EVENT_LEAVE_AREA, evt.client, "", 0, &args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user