diff --git a/src/unmovable_map.h b/src/unmovable_map.h --- a/src/unmovable_map.h +++ b/src/unmovable_map.h @@ -166,8 +166,7 @@ static inline void SetCompanyHQSection(T static inline void EnlargeCompanyHQ(TileIndex t, byte size) { assert(GetCompanyHQSection(t) == 0); - - size++; + assert(size <= 4); if (size <= GetCompanyHQSize(t)) return; SetCompanyHQSize(t , size);