forked from mirror/OpenTTD
(svn r24369) -Fix (r24361): Unused stuff is unused.
This commit is contained in:
@@ -4410,12 +4410,11 @@ static void SkipAct1(ByteReader *buf)
|
|||||||
{
|
{
|
||||||
buf->ReadByte();
|
buf->ReadByte();
|
||||||
uint16 num_sets = buf->ReadByte();
|
uint16 num_sets = buf->ReadByte();
|
||||||
uint16 first_set = 0;
|
|
||||||
|
|
||||||
if (num_sets == 0 && buf->HasData(3)) {
|
if (num_sets == 0 && buf->HasData(3)) {
|
||||||
/* Extended Action1 format.
|
/* Extended Action1 format.
|
||||||
* Some GRFs define zero sets of zero sprites, though there is actually no use in that. Ignore them. */
|
* Some GRFs define zero sets of zero sprites, though there is actually no use in that. Ignore them. */
|
||||||
first_set = buf->ReadExtendedByte();
|
buf->ReadExtendedByte(); // first_set
|
||||||
num_sets = buf->ReadExtendedByte();
|
num_sets = buf->ReadExtendedByte();
|
||||||
}
|
}
|
||||||
uint16 num_ents = buf->ReadExtendedByte();
|
uint16 num_ents = buf->ReadExtendedByte();
|
||||||
|
Reference in New Issue
Block a user