summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-01-15 23:34:37 -0200
committerpanikon <panikon@zoho.com>2014-01-15 23:34:37 -0200
commit0267cad28133b4c245f1cf100a24ab8a14cf2a73 (patch)
treec420d1736d3b4db4c98f8164b0c5c673d2fc781a /src/map/chrif.c
parent761d3eb8291c997a627dc42da39913eb52abfce3 (diff)
downloadhercules-0267cad28133b4c245f1cf100a24ab8a14cf2a73.tar.gz
hercules-0267cad28133b4c245f1cf100a24ab8a14cf2a73.tar.bz2
hercules-0267cad28133b4c245f1cf100a24ab8a14cf2a73.tar.xz
hercules-0267cad28133b4c245f1cf100a24ab8a14cf2a73.zip
Correct minor mistakes as pointed by MishimaHaruna
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 3723cb4ac..bcc1da935 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -251,7 +251,7 @@ bool chrif_save(struct map_session_data *sd, int flag) {
ShowError("chrif_save: Failed to set up player %d:%d for proper quitting!\n", sd->status.account_id, sd->status.char_id);
}
- chrif_check(-1); //Character is saved on reconnect.
+ chrif_check(false); //Character is saved on reconnect.
//For data sync
if (sd->state.storage_flag == 2)
@@ -361,7 +361,7 @@ bool chrif_changemapserver(struct map_session_data* sd, uint32 ip, uint16 port)
return false;
}
- chrif_check(-1);
+ chrif_check(false);
WFIFOHEAD(chrif->fd,35);
WFIFOW(chrif->fd, 0) = 0x2b05;
@@ -1678,7 +1678,6 @@ void chrif_defaults(void) {
chrif->buildfamelist = chrif_buildfamelist;
chrif->save_scdata = chrif_save_scdata;
chrif->ragsrvinfo = chrif_ragsrvinfo;
- //chrif->char_offline = chrif_char_offline;
chrif->char_offline_nsd = chrif_char_offline_nsd;
chrif->char_reset_offline = chrif_char_reset_offline;
chrif->send_users_tochar = send_users_tochar;