Codechange: rename byte to uint8_t (#12308)

This commit is contained in:
Patric Stout
2024-03-16 23:59:32 +01:00
committed by GitHub
parent bd7120bae4
commit a3cfd23cf9
355 changed files with 1654 additions and 1656 deletions

View File

@@ -28,7 +28,7 @@ struct SpriteCache {
int16_t lru;
SpriteType type; ///< In some cases a single sprite is misused by two NewGRFs. Once as real sprite and once as recolour sprite. If the recolour sprite gets into the cache it might be drawn as real sprite which causes enormous trouble.
bool warned; ///< True iff the user has been warned about incorrect use of this sprite
byte control_flags; ///< Control flags, see SpriteCacheCtrlFlags
uint8_t control_flags; ///< Control flags, see SpriteCacheCtrlFlags
};
inline bool IsMapgenSpriteID(SpriteID sprite)