let's try increasing MAX_UNITSIZE to 128K

This commit is contained in:
Enno Rehling 2019-11-02 21:37:33 +01:00
parent fd1b981983
commit 7850e84cea
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ extern "C" {
/* Flags, die gespeichert werden sollen: */ /* Flags, die gespeichert werden sollen: */
#define UFL_SAVEMASK (UFL_DEFENDER|UFL_MOVED|UFL_NOAID|UFL_ANON_FACTION|UFL_LOCKED|UFL_HUNGER|UFL_TAKEALL|UFL_GUARD|UFL_STEALTH|UFL_GROUP|UFL_HERO) #define UFL_SAVEMASK (UFL_DEFENDER|UFL_MOVED|UFL_NOAID|UFL_ANON_FACTION|UFL_LOCKED|UFL_HUNGER|UFL_TAKEALL|UFL_GUARD|UFL_STEALTH|UFL_GROUP|UFL_HERO)
#define UNIT_MAXSIZE 50000 #define UNIT_MAXSIZE 128 * 1024
extern int maxheroes(const struct faction *f); extern int maxheroes(const struct faction *f);
extern int countheroes(const struct faction *f); extern int countheroes(const struct faction *f);