Skip to content

Commit

Permalink
Raise MAX_LEN_DEMOGRAPHY to 32
Browse files Browse the repository at this point in the history
It's the length of game.server.demography, doesn't appear to be sent over
the network regardless of the scary comments.
  • Loading branch information
itvirta committed Nov 11, 2020
1 parent d5888ea commit 1fc5c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/fc_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ extern "C" {

/* Changing these will probably break network compatability. */
#define MAX_LEN_NAME 48
#define MAX_LEN_DEMOGRAPHY 16
#define MAX_LEN_DEMOGRAPHY 32 /* this is only used in the server */
#define MAX_LEN_ALLOW_TAKE 16
#define MAX_LEN_GAME_IDENTIFIER 33
#define MAX_GRANARY_INIS 24
Expand Down

0 comments on commit 1fc5c35

Please sign in to comment.