diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-03 15:48:46 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-03 15:48:46 +0000 |
commit | cfdb383a81bb9bb9349454ec38760774e4150d38 (patch) | |
tree | cb18aa927778640f4c6c0aa34ac398493d21ed5b /src/map/chrif.h | |
parent | ae84a968da2ef7573b17f9f31814fa16f76102bb (diff) | |
download | hercules-cfdb383a81bb9bb9349454ec38760774e4150d38.tar.gz hercules-cfdb383a81bb9bb9349454ec38760774e4150d38.tar.bz2 hercules-cfdb383a81bb9bb9349454ec38760774e4150d38.tar.xz hercules-cfdb383a81bb9bb9349454ec38760774e4150d38.zip |
- Added variable other_mapserver_count to chrif.c which holds total count of connected map-servers. By using this we prevent sending unnecessary packets to the char-server when there's no more map-servers connected.
- Affected packets are whispers, announces, party messages, guild messages.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6955 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.h')
-rw-r--r-- | src/map/chrif.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/chrif.h b/src/map/chrif.h index d6b9d2b6a..cc427fe92 100644 --- a/src/map/chrif.h +++ b/src/map/chrif.h @@ -21,6 +21,7 @@ void chrif_setport(int); int chrif_isconnect(void);
extern int chrif_connected;
+extern int other_mapserver_count;
void chrif_authreq(struct map_session_data *);
void chrif_authok(int fd);
|