summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-28 18:25:32 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-28 18:25:32 +0000
commitcb1131db4cde40c0352e6c75069defab06128c93 (patch)
tree3544f604cbe0b49425c726b5343515beb7ba2e70 /src/map/chrif.c
parent4e643fd7733f69e080c0206d82980fb1003f76e0 (diff)
downloadhercules-cb1131db4cde40c0352e6c75069defab06128c93.tar.gz
hercules-cb1131db4cde40c0352e6c75069defab06128c93.tar.bz2
hercules-cb1131db4cde40c0352e6c75069defab06128c93.tar.xz
hercules-cb1131db4cde40c0352e6c75069defab06128c93.zip
* RFIFOREST returns 0 when the session is eof (input data is implicitly discarted).
* Reworked the player fame update: - would crash if an invalid pos was received - the wrong player could be updated on certain conditions git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10640 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 4b5dde218..770e232b5 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -1071,8 +1071,7 @@ int chrif_updatefamelist(struct map_session_data *sd)
WFIFOL(char_fd,2) = sd->status.char_id;
WFIFOL(char_fd,6) = sd->status.fame;
WFIFOB(char_fd,10) = type;
- WFIFOB(char_fd,11) = pc_famerank(sd->status.char_id, sd->class_&MAPID_UPPERMASK);
- WFIFOSET(char_fd,12);
+ WFIFOSET(char_fd,11);
return 0;
}