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:
KimLS
2013-05-10 20:13:35 -07:00
parent 43d0350870
commit dc045591e4
18 changed files with 5917 additions and 63 deletions
+2 -2
View File
@@ -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);