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:
parent
8df036c428
commit
7e7a28315e
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user