diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-25 21:35:38 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-25 21:35:38 +0000 |
commit | 683822cc659024af2d5050e81e02622e0eb01884 (patch) | |
tree | 2474a20771e2b97a1f86bd126122c5bd960b1556 /src/map/clif.c | |
parent | 7d65a46135c8b8536f48f58ff2a0a26fd40932b6 (diff) | |
download | hercules-683822cc659024af2d5050e81e02622e0eb01884.tar.gz hercules-683822cc659024af2d5050e81e02622e0eb01884.tar.bz2 hercules-683822cc659024af2d5050e81e02622e0eb01884.tar.xz hercules-683822cc659024af2d5050e81e02622e0eb01884.zip |
- Cleaned up some more the event dequeue code, it will no longer clear out the npc_id if there's no events waiting to be executed (why does it clears the npc_id anyway?)
- Because of possible conflicts with this change and the on-login script, now the on-login script is executed when the player has finished loading into their start-up map rather than as soon as receiving the registry variables from the char-server.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9073 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index a667b74be..6bfe4ef50 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8344,7 +8344,8 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd) //Removed, for some reason chars get stuck on map-change when you send this packet!? [Skotlex]
//[LuzZza]
//clif_guild_send_onlineinfo(sd);
-
+ //On Login Script.
+ npc_script_event(sd, NPCE_LOGIN);
} else
//New 'night' effect by dynamix [Skotlex]
if (night_flag && map[sd->bl.m].flag.nightenabled)
|