summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-12-31 03:48:02 -0200
committershennetsind <ind@henn.et>2013-12-31 03:48:02 -0200
commit85327cde8e451b8b1bacd1f5a98c034a6f42e5ea (patch)
tree65e07ff554e67e42c0178f8ffc115c04afbc7a21 /src/char
parente153b614bd6c3cfb85528ce847fdcb353fe31020 (diff)
downloadhercules-85327cde8e451b8b1bacd1f5a98c034a6f42e5ea.tar.gz
hercules-85327cde8e451b8b1bacd1f5a98c034a6f42e5ea.tar.bz2
hercules-85327cde8e451b8b1bacd1f5a98c034a6f42e5ea.tar.xz
hercules-85327cde8e451b8b1bacd1f5a98c034a6f42e5ea.zip
Fixed issues pointed out in Report 7909
Special Thanks to Vader. http://hercules.ws/board/tracker/issue-7909-some-code-errors-and-optimisations/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 82206cbd9..292973449 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -500,7 +500,7 @@ int mmo_char_tosql(int char_id, struct mmo_charstatus* p)
strcat(save_status, " status");
}
- if( p->bank_vault != cp->bank_vault || p->mod_exp != cp->mod_exp || p->mod_drop != cp->mod_drop || p->mod_death != p->mod_death ) {
+ if( p->bank_vault != cp->bank_vault || p->mod_exp != cp->mod_exp || p->mod_drop != cp->mod_drop || p->mod_death != cp->mod_death ) {
if( SQL_ERROR == SQL->Query(sql_handle, "REPLACE INTO `%s` (`account_id`,`bank_vault`,`base_exp`,`base_drop`,`base_death`) VALUES ('%d','%d','%d','%d','%d')",account_data_db,p->account_id,p->bank_vault,p->mod_exp,p->mod_drop,p->mod_death) ) {
Sql_ShowDebug(sql_handle);
errors++;