diff options
author | Wushin <pasekei@gmail.com> | 2015-04-30 00:17:52 -0500 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2015-04-30 00:17:52 -0500 |
commit | 6fc65f431959fada53ddc13b3ef34e26f40a5011 (patch) | |
tree | a4e846811e4d9ffa7f2a2e85c9edbe2ed857e1b4 /src | |
parent | 6e18832c31035c0459f38702c9dc7e3acb3d8a88 (diff) | |
parent | c49dc4bf632d7600e1ff2cf4a489e7f8dac59fc3 (diff) | |
download | tmwa-6fc65f431959fada53ddc13b3ef34e26f40a5011.tar.gz tmwa-6fc65f431959fada53ddc13b3ef34e26f40a5011.tar.bz2 tmwa-6fc65f431959fada53ddc13b3ef34e26f40a5011.tar.xz tmwa-6fc65f431959fada53ddc13b3ef34e26f40a5011.zip |
Merge pull request #70 from mekolat/onlogin
add OnPCLoginEvent
Diffstat (limited to 'src')
-rw-r--r-- | src/map/pc.cpp | 2 |
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; |