summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorGepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-19 21:40:15 +0000
committerGepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-19 21:40:15 +0000
commit80ea72ef5feaca9c9b0368ad3f65e527ce653165 (patch)
tree1d0af1ff9e2691e443209fc5f4c0529443c5f22a /src/char_sql
parent15da23e040bcd6e75af332e6f8c01b48d06c8d75 (diff)
downloadhercules-80ea72ef5feaca9c9b0368ad3f65e527ce653165.tar.gz
hercules-80ea72ef5feaca9c9b0368ad3f65e527ce653165.tar.bz2
hercules-80ea72ef5feaca9c9b0368ad3f65e527ce653165.tar.xz
hercules-80ea72ef5feaca9c9b0368ad3f65e527ce653165.zip
Removed leftovers of old charcommand config (follow-up to r13403).
Added check to ensure character `rename` status will be saved if changed. Fixed Beast Strafing (HT_POWER) damage formula and SP requirement provided by Playtester (bugreport:4675, since r4392). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14748 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index e135fee78..36de40bf5 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -473,7 +473,8 @@ int mmo_char_tosql(int char_id, struct mmo_charstatus* p)
(p->party_id != cp->party_id) || (p->guild_id != cp->guild_id) ||
(p->pet_id != cp->pet_id) || (p->weapon != cp->weapon) || (p->hom_id != cp->hom_id) ||
(p->shield != cp->shield) || (p->head_top != cp->head_top) ||
- (p->head_mid != cp->head_mid) || (p->head_bottom != cp->head_bottom) || (p->delete_date != cp->delete_date)
+ (p->head_mid != cp->head_mid) || (p->head_bottom != cp->head_bottom) || (p->delete_date != cp->delete_date) ||
+ (p->rename != cp->rename)
)
{ //Save status
if( SQL_ERROR == Sql_Query(sql_handle, "UPDATE `%s` SET `base_level`='%d', `job_level`='%d',"