Reduced MAX_MAP_SERVERS and MAX_SERVERS size (#4099)

* Reduced MAX_MAP_SERVERS down to 2.
* Reduced MAX_SERVERS down to 5.
This commit is contained in:
Aleos 2019-04-17 14:47:55 -04:00 committed by GitHub
parent 8df036c428
commit 7e7a28315e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ struct CharServ_Config {
};
extern struct CharServ_Config charserv_config;
#define MAX_MAP_SERVERS 30 //how many mapserver a char server can handle
#define MAX_MAP_SERVERS 2 //how many mapserver a char server can handle
struct mmo_map_server {
int fd;
uint32 ip;

View File

@ -47,7 +47,7 @@ struct login_session_data {
int fd; ///socket of client
};
#define MAX_SERVERS 30 //max number of mapserv that could be attach
#define MAX_SERVERS 5 //max number of mapserv that could be attach
///Struct describing 1 char-serv attach to us
struct mmo_char_server {
char name[20]; ///char-serv name