From 7850e84cea5f48983a3e5ef3cf1fed8186a4e077 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 2 Nov 2019 21:37:33 +0100 Subject: [PATCH] let's try increasing MAX_UNITSIZE to 128K --- src/kernel/unit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/unit.h b/src/kernel/unit.h index 863dccd13..c77cfdb7a 100644 --- a/src/kernel/unit.h +++ b/src/kernel/unit.h @@ -54,7 +54,7 @@ extern "C" { /* 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 UNIT_MAXSIZE 50000 +#define UNIT_MAXSIZE 128 * 1024 extern int maxheroes(const struct faction *f); extern int countheroes(const struct faction *f);