summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-18 02:41:10 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-18 02:41:10 +0000
commit3117bb0eac0745a30b618099899bffd1f58badbd (patch)
tree744c31cc53ed6ae1bfa5774a1772c2a16be2769c /src/map/chrif.c
parent4a2c67dc47ffc7c33eea340ea96e3d0ba57e359e (diff)
downloadhercules-3117bb0eac0745a30b618099899bffd1f58badbd.tar.gz
hercules-3117bb0eac0745a30b618099899bffd1f58badbd.tar.bz2
hercules-3117bb0eac0745a30b618099899bffd1f58badbd.tar.xz
hercules-3117bb0eac0745a30b618099899bffd1f58badbd.zip
- Updated mob_db.sql to current mob_db.txt data.
- Some cleaning on chrif.c - The char-server will allow off-line character saves when said char is tagged for final-save (this is the scenario when the char-map reconnect). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7722 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 6f7415099..b8990f87e 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -86,7 +86,7 @@ static const int packet_len_table[0x3d] = {
//2b21: Incomming, chrif_save_ack. Returned after a character has been "final saved" on the char-server. [Skotlex]
//2b22-2b27: FREE
-int chrif_connected;
+int chrif_connected = 0;
int char_fd = 0; //Using 0 instead of -1 is safer against crashes. [Skotlex]
int srvinfo;
static char char_ip_str[128];