Changeset - r26408:fdc550b1bd4a
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 2 years ago 2022-09-29 09:56:42
j.g.rennison@gmail.com
Fix 5e413c9d: Last sprite offset in GRF file was not recorded (#10062)

A line was missed when preparing PR #9988, as this had been added
in a commit prior to the one which the PR was immediately based on
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/spritecache.cpp
Show inline comments
 
@@ -592,6 +592,7 @@ void ReadGRFSpriteOffsets(SpriteFile &fi
 
			}
 
			file.SkipBytes(length);
 
		}
 
		if (prev_id != 0) _grf_sprite_offsets[prev_id] = offset;
 

	
 
		/* Continue processing the data section. */
 
		file.SeekTo(old_pos, SEEK_SET);
0 comments (0 inline, 0 general)