diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-06 16:53:09 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-06 16:53:09 +0000 |
commit | 1d006194c8ddf8a24a963680e30c48cc5aef78d1 (patch) | |
tree | ddbcdc3a06e77ad67c43b0f6a66af83cbee499a4 /src/char_sql/char.c | |
parent | 47b43b6ee744786ccdfba23f8a987a0401dbd468 (diff) | |
download | hercules-1d006194c8ddf8a24a963680e30c48cc5aef78d1.tar.gz hercules-1d006194c8ddf8a24a963680e30c48cc5aef78d1.tar.bz2 hercules-1d006194c8ddf8a24a963680e30c48cc5aef78d1.tar.xz hercules-1d006194c8ddf8a24a963680e30c48cc5aef78d1.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10706 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 8cea55230..1bd9681b3 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2833,8 +2833,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 |