diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-22 16:52:46 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-22 16:52:46 +0000 |
commit | 808b216c7dd6fedf644a0992dbb86255aed1068d (patch) | |
tree | 15405273f97bae2f965bca6bacc04e49b82220b2 /src/map/guild.h | |
parent | b561fcc8037f50a9f562f2bcaa2b6d8e4644bcc4 (diff) | |
download | hercules-808b216c7dd6fedf644a0992dbb86255aed1068d.tar.gz hercules-808b216c7dd6fedf644a0992dbb86255aed1068d.tar.bz2 hercules-808b216c7dd6fedf644a0992dbb86255aed1068d.tar.xz hercules-808b216c7dd6fedf644a0992dbb86255aed1068d.zip |
* Fixed guild and guild member exp truncation issue (bugreport:4130, since r14242).
- Fixed guild member position, hair, hair color, gender, class and level could potentially become corrupted due to shorts being read as ints (partially since r2986).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14487 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.h')
-rw-r--r-- | src/map/guild.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.h b/src/map/guild.h index 753de0da1..c6b380647 100644 --- a/src/map/guild.h +++ b/src/map/guild.h @@ -73,7 +73,7 @@ int guild_check_alliance(int guild_id1, int guild_id2, int flag); int guild_send_memberinfoshort(struct map_session_data *sd,int online); int guild_recv_memberinfoshort(int guild_id,int account_id,int char_id,int online,int lv,int class_); -int guild_change_memberposition(int guild_id,int account_id,int char_id,int idx); +int guild_change_memberposition(int guild_id,int account_id,int char_id,short idx); int guild_memberposition_changed(struct guild *g,int idx,int pos); int guild_change_position(int guild_id,int idx,int mode,int exp_mode,const char *name); int guild_position_changed(int guild_id,int idx,struct guild_position *p); |