Fixed bugreport:5951 changesex bug regarding it not changing bard/dancer classes after the change has been fixed.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16336 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
8e17ae71b4
commit
e24fccbcf9
@ -2091,6 +2091,9 @@ int parse_fromlogin(int fd)
|
||||
class_[i] = (sex ? JOB_KAGEROU : JOB_OBORO);
|
||||
}
|
||||
|
||||
if( SQL_ERROR == Sql_Query(sql_handle, "UPDATE `%s` SET `class`='%d', `weapon`='0', `shield`='0', `head_top`='0', `head_mid`='0', `head_bottom`='0' WHERE `char_id`='%d'", char_db, class_[i], char_id[i]) )
|
||||
Sql_ShowDebug(sql_handle);
|
||||
|
||||
if( guild_id[i] )// If there is a guild, update the guild_member data [Skotlex]
|
||||
inter_guild_sex_changed(guild_id[i], acc, char_id[i], sex);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user