From 39f30692febbf288697e2dae16af550d741ce6ca Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Fri, 19 Dec 2025 18:13:59 +0000 Subject: [PATCH] Fix #14932: Increase internal badge index size to avoid overflowing BadgeIDs. (#14933) --- src/newgrf_badge_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/newgrf_badge_type.h b/src/newgrf_badge_type.h index aff2a47857..d12d5fd041 100644 --- a/src/newgrf_badge_type.h +++ b/src/newgrf_badge_type.h @@ -13,8 +13,8 @@ #include "core/enum_type.hpp" #include "core/strong_typedef_type.hpp" -using BadgeID = StrongType::Typedef; -using BadgeClassID = StrongType::Typedef; +using BadgeID = StrongType::Typedef; +using BadgeClassID = StrongType::Typedef; template <> struct std::hash { std::size_t operator()(const BadgeClassID &badge_class_index) const noexcept