summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-04-24 14:54:19 -0400
committermekolat <mekolat@users.noreply.github.com>2015-04-29 23:47:00 -0400
commitc49dc4bf632d7600e1ff2cf4a489e7f8dac59fc3 (patch)
tree98c3542aefaf601b21caaadc09c3a0d8c7ce1b56 /src/map/pc.cpp
parentf3c12939d5ba0dcbc4dcca4bb0384a55d776b2c8 (diff)
downloadtmwa-c49dc4bf632d7600e1ff2cf4a489e7f8dac59fc3.tar.gz
tmwa-c49dc4bf632d7600e1ff2cf4a489e7f8dac59fc3.tar.bz2
tmwa-c49dc4bf632d7600e1ff2cf4a489e7f8dac59fc3.tar.xz
tmwa-c49dc4bf632d7600e1ff2cf4a489e7f8dac59fc3.zip
add OnPCLoginEvent
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r--src/map/pc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 751b6e1..e1ecd37 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -794,6 +794,8 @@ int pc_authok(AccountId id, int login_id2,
sd->packet_flood_in = 0;
pc_calcstatus(sd, 1);
+
+ npc_event_doall_l(stringish<ScriptLabel>("OnPCLoginEvent"_s), sd->bl_id, nullptr);
// Init Quest Log
clif_sendallquest(sd);
return 0;