mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 02:27:21 +00:00
Lua work - loading works, I think checking for sub works. Calling subs is in the beginning stages and binding is starting
This commit is contained in:
1 parent
43d0350870
commit
dc045591e4
18 files changed
+5917
-63
No files matched your search
@@ -10665,11 +10665,11 @@ void Client::Handle_OP_PopupResponse(const EQApplicationPacket *app) {
|
||||
char *buf = 0;
|
||||
MakeAnyLenString(&buf, "%d", prs->popupid);
|
||||
|
||||
parse->EventPlayer(EVENT_POPUPRESPONSE, this, buf, 0);
|
||||
parse->EventPlayer(EVENT_POPUP_RESPONSE, this, buf, 0);
|
||||
|
||||
Mob* Target = GetTarget();
|
||||
if(Target && Target->IsNPC()) {
|
||||
parse->EventNPC(EVENT_POPUPRESPONSE, Target->CastToNPC(), this, buf, 0);
|
||||
parse->EventNPC(EVENT_POPUP_RESPONSE, Target->CastToNPC(), this, buf, 0);
|
||||
}
|
||||
|
||||
safe_delete_array(buf);
|
||||
|
||||
Reference in new issue
Block a user