summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-13 19:15:03 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-13 19:15:03 +0000
commite89f2a34a9dccf3146ecc22a3b570936fe4aab6a (patch)
treeb56b80e0b73a428f15bd2845e3d69f795382e570 /src/map/clif.c
parent18282ae649b0c2d54deaba32132171cbf56a1868 (diff)
downloadhercules-e89f2a34a9dccf3146ecc22a3b570936fe4aab6a.tar.gz
hercules-e89f2a34a9dccf3146ecc22a3b570936fe4aab6a.tar.bz2
hercules-e89f2a34a9dccf3146ecc22a3b570936fe4aab6a.tar.xz
hercules-e89f2a34a9dccf3146ecc22a3b570936fe4aab6a.zip
- HP Conversion will fail when used at max SP. It should not display any errors to the client.
- Modified yet again the login procedure. The initial status_calc_pc is invoked when the variable registries arrive, but the initial LoadEndAck will not be parsed until the registries have arrived. In the rare case this happens, pc_reg_received will take care of invoking the LoadEndAck function itself. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9208 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index e79b7f78e..01032a535 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8250,7 +8250,14 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
{
if(sd->bl.prev != NULL)
return;
-
+
+ if (!sd->state.auth)
+ { //Character loading is not complete yet!
+ //Let pc_reg_received reinvoke this when ready.
+ sd->state.connect_new = 0;
+ return;
+ }
+
if (sd->state.rewarp)
{ //Rewarp player.
sd->state.rewarp = 0;