summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-04-30 00:17:52 -0500
committerWushin <pasekei@gmail.com>2015-04-30 00:17:52 -0500
commit6fc65f431959fada53ddc13b3ef34e26f40a5011 (patch)
treea4e846811e4d9ffa7f2a2e85c9edbe2ed857e1b4 /src
parent6e18832c31035c0459f38702c9dc7e3acb3d8a88 (diff)
parentc49dc4bf632d7600e1ff2cf4a489e7f8dac59fc3 (diff)
downloadtmwa-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.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;