Codechange: Use GrfSpecFeature type instead of uint8_t. (#14253)

This commit is contained in:
Peter Nelson
2025-05-12 08:44:39 +01:00
committed by GitHub
parent 2516c435b7
commit 0aacd7acb3
16 changed files with 69 additions and 66 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ static void NewSpriteSet(ByteReader &buf)
* In that case, use num-dirs=4.
*/
uint8_t feature = buf.ReadByte();
GrfSpecFeature feature{buf.ReadByte()};
uint16_t num_sets = buf.ReadByte();
uint16_t first_set = 0;