From 1d006194c8ddf8a24a963680e30c48cc5aef78d1 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Wed, 6 Jun 2007 16:53:09 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10706 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/char.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/char') diff --git a/src/char/char.c b/src/char/char.c index 059c9c9d8..aa58db78c 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -3134,8 +3134,8 @@ int parse_frommap(int fd) default: size = 0; list = NULL; break; } - ARR_FIND(0, size, player_pos, list[player_pos].id == cid); - ARR_FIND(0, size, fame_pos, list[fame_pos].fame <= fame); + ARR_FIND(0, size, player_pos, list[player_pos].id == cid);// position of the player + ARR_FIND(0, size, fame_pos, list[fame_pos].fame <= fame);// where the player should be if( player_pos == size && fame_pos == size ) ;// not on list and not enough fame to get on it -- cgit v1.2.3-60-g2f50