Fix uint8 file_slot in LoadNextSprite

This commit is contained in:
Jonathan G Rennison
2019-01-14 18:45:57 +00:00
parent d489ee5d9c
commit 3f03d03d92
2 changed files with 2 additions and 2 deletions

View File

@@ -565,7 +565,7 @@ void ReadGRFSpriteOffsets(byte container_version)
* @param container_version Container version of the GRF.
* @return True if a valid sprite was loaded, false on any error.
*/
bool LoadNextSprite(int load_index, byte file_slot, uint file_sprite_id, byte container_version)
bool LoadNextSprite(int load_index, uint file_slot, uint file_sprite_id, byte container_version)
{
size_t file_pos = FioGetPos();