From 24f79d2ab77a84cb41e39e5fc363aaa0cbaa13c9 Mon Sep 17 00:00:00 2001
From: Rubidium <rubidium@openttd.org>
Date: Sat, 15 Mar 2025 00:10:06 +0100
Subject: [PATCH] Codefix: wrong type for choice list mapping

---
 src/newgrf_text.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp
index f2f92a9e23..77fcff45f4 100644
--- a/src/newgrf_text.cpp
+++ b/src/newgrf_text.cpp
@@ -121,7 +121,7 @@ struct UnmappedChoiceList {
 	int offset;             ///< The offset for the plural/gender form.
 
 	/** Mapping of NewGRF supplied ID to the different strings in the choice list. */
-	std::map<uint8_t, std::stringstream> strings;
+	std::map<int, std::stringstream> strings;
 
 	/**
 	 * Flush this choice list into the destination string.