diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-06 15:58:30 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-06 15:58:30 +0000 |
commit | bb0e0bcc5d4da8331f6fb33c879b2d757855722a (patch) | |
tree | 4b768273eb0b136ca23f71f1b4504ed34c1ab8b2 /src/map/pc.c | |
parent | 4ecf64221cb558786e4581f4ac7ffa733fa3e4d5 (diff) | |
download | hercules-bb0e0bcc5d4da8331f6fb33c879b2d757855722a.tar.gz hercules-bb0e0bcc5d4da8331f6fb33c879b2d757855722a.tar.bz2 hercules-bb0e0bcc5d4da8331f6fb33c879b2d757855722a.tar.xz hercules-bb0e0bcc5d4da8331f6fb33c879b2d757855722a.zip |
- Ganbantein's delay is now 2 secs.
- Removed the time2 value of NJ_NEN since it has no use.
- Removed the return code entry when logging GM reload-GM requests (login-sql),it'll just be stored as zero.
- Added a fix on socket.c to not pick INADDR_ANY when choosing our own IP.
- Applied the correction on maprespawnguildid so that it parses ALL players and not just those on a map.
- TK_JUMPKICK now dispels normal aspd/speed potions (not berserk pitched ones) and Preserve will be unable to block this.
- Soul Linkers are now inmune to SA_DISPEL
- You can now place everything (except magic skills) on top of LPs.
- Corrected Ganbantein to not touch song/dance/ensembles.
- Status_calc_pc will refuse to execute if the player is still tagged as a "new connection" and the invocation is not meant to be the first one.
- Swapped the order of checks in status_isimmune so that Wand of Hermod skill blocking takes precedence over GTB's
- Client packets will all be ignored while a player is not on a map until the LoadEndAck packet is received.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9152 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 7aeaf2232..f9415e9cd 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -706,7 +706,6 @@ int pc_authok(struct map_session_data *sd, int login_id2, time_t connect_until_t sd->state.event_disconnect = 1; sd->state.event_kill_mob = 1; - // Reverted, since it causes tons of problems putting elsewhere. status_calc_pc(sd,1); sd->state.auth = 1; //Do not auth him until the initial stats have been placed. @@ -813,9 +812,6 @@ int pc_reg_received(struct map_session_data *sd) sd->mission_count = pc_readglobalreg(sd,"TK_MISSION_COUNT"); } - if(sd->battle_status.hp == 0) - pc_setrestartvalue(sd, 1); - //SG map and mob read [Komurka] for(i=0;i<3;i++) //for now - someone need to make reading from txt/sql { @@ -860,6 +856,7 @@ int pc_reg_received(struct map_session_data *sd) sd->state.event_joblvup = 1; sd->state.event_loadmap = 1; } + return 0; } |