summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-03-06 02:18:09 +0100
committerHaru <haru@dotalux.com>2014-03-06 02:18:09 +0100
commit582ca07560e27220fffd9d91a6fa18e6603e93aa (patch)
tree8dd6c3bddd4c081765b16bc5232351e346633e73 /src/char/char.c
parentf2a30add19e2cb8c191e36734e01ad1c36895a82 (diff)
downloadhercules-582ca07560e27220fffd9d91a6fa18e6603e93aa.tar.gz
hercules-582ca07560e27220fffd9d91a6fa18e6603e93aa.tar.bz2
hercules-582ca07560e27220fffd9d91a6fa18e6603e93aa.tar.xz
hercules-582ca07560e27220fffd9d91a6fa18e6603e93aa.zip
Minor whitespace fix
(trying to trigger a HPM Hooks rebuild missing from my previous commit) Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 5b497bd0c..a24e198bf 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -195,7 +195,7 @@ static DBData create_online_char_data(DBKey key, va_list args)
CREATE(character, struct online_char_data, 1);
character->account_id = key.i;
character->char_id = -1;
- character->server = -1;
+ character->server = -1;
character->pincode_enable = -1;
character->fd = -1;
character->waiting_disconnect = INVALID_TIMER;
@@ -1724,8 +1724,8 @@ int delete_char_sql(int char_id)
SQL->GetData(sql_handle, 6, &data, NULL); partner_id = atoi(data);
SQL->GetData(sql_handle, 7, &data, NULL); father_id = atoi(data);
SQL->GetData(sql_handle, 8, &data, NULL); mother_id = atoi(data);
- SQL->GetData(sql_handle, 9, &data, NULL);
- elemental_id = atoi(data);
+ SQL->GetData(sql_handle, 9, &data, NULL);
+ elemental_id = atoi(data);
SQL->EscapeStringLen(sql_handle, esc_name, name, min(len, NAME_LENGTH));
SQL->FreeResult(sql_handle);
@@ -1779,9 +1779,9 @@ int delete_char_sql(int char_id)
if( hom_id )
mapif_homunculus_delete(hom_id);
- /* remove elemental */
- if (elemental_id)
- mapif_elemental_delete(elemental_id);
+ /* remove elemental */
+ if (elemental_id)
+ mapif_elemental_delete(elemental_id);
/* remove mercenary data */
mercenary_owner_delete(char_id);