summaryrefslogtreecommitdiff
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
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>
-rw-r--r--src/char/char.c12
-rw-r--r--src/char/int_guild.c7
-rw-r--r--src/char/inter.c4
3 files changed, 10 insertions, 13 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);
diff --git a/src/char/int_guild.c b/src/char/int_guild.c
index 0f6814527..28b803027 100644
--- a/src/char/int_guild.c
+++ b/src/char/int_guild.c
@@ -611,10 +611,9 @@ static bool exp_guild_parse_row(char* split[], int column, int current) {
}
-int inter_guild_CharOnline(int char_id, int guild_id)
-{
- struct guild *g;
- int i;
+int inter_guild_CharOnline(int char_id, int guild_id) {
+ struct guild *g;
+ int i;
if (guild_id == -1) {
//Get guild_id from the database
diff --git a/src/char/inter.c b/src/char/inter.c
index e1deb1a07..059c33784 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -369,9 +369,7 @@ const char* job_name(int class_) {
}
}
-/**
- * [Dekamaster/Nightroad]
- **/
+/* [Dekamaster/Nightroad] */
const char * geoip_countryname[253] = {"Unknown","Asia/Pacific Region","Europe","Andorra","United Arab Emirates","Afghanistan","Antigua and Barbuda","Anguilla","Albania","Armenia","Netherlands Antilles",
"Angola","Antarctica","Argentina","American Samoa","Austria","Australia","Aruba","Azerbaijan","Bosnia and Herzegovina","Barbados",
"Bangladesh","Belgium","Burkina Faso","Bulgaria","Bahrain","Burundi","Benin","Bermuda","Brunei Darussalam","Bolivia",