summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-04 17:41:02 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-04 17:41:02 +0000
commitb1d783c36feed8d4969b4acda97f95bf9e8840e0 (patch)
tree423e332076470d4eed96cbcab32797c1859a4ea4 /src/map/chrif.c
parent42c2247176bc352db321768b893086cb89383c39 (diff)
downloadhercules-b1d783c36feed8d4969b4acda97f95bf9e8840e0.tar.gz
hercules-b1d783c36feed8d4969b4acda97f95bf9e8840e0.tar.bz2
hercules-b1d783c36feed8d4969b4acda97f95bf9e8840e0.tar.xz
hercules-b1d783c36feed8d4969b4acda97f95bf9e8840e0.zip
- Changed some pc_authfails to clif_authfail_fd since pc_authfail prints errors when invoked after a char is auth'ed.
- Added a static +100 Hp to ninjas and gunslingers since it's required for the best approximated hp growth algorythm. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9404 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 95b874327..df37aaf1d 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -342,7 +342,7 @@ int chrif_changemapserver(struct map_session_data *sd, short map, int x, int y,
if (other_mapserver_count < 1)
{ //No other map servers are online!
- pc_authfail(sd);
+ clif_authfail_fd(sd->fd, 0);
return -1;
}
@@ -385,7 +385,7 @@ int chrif_changemapserverack(int fd)
if (RFIFOL(fd,6) == 1) {
if (battle_config.error_log)
ShowError("map server change failed.\n");
- pc_authfail(sd);
+ clif_authfail_fd(sd->fd, 0);
return 0;
}
clif_changemapserver(sd, (char*)mapindex_id2name(RFIFOW(fd,18)), RFIFOW(fd,20), RFIFOW(fd,22), RFIFOL(fd,24), RFIFOW(fd,28));