Fix syntax of static_assert
This commit is contained in:
@@ -4552,7 +4552,7 @@ static void FeatureChangeInfo(ByteReader *buf)
|
|||||||
/* GSF_RAILTYPES */ RailTypeChangeInfo,
|
/* GSF_RAILTYPES */ RailTypeChangeInfo,
|
||||||
/* GSF_AIRPORTTILES */ AirportTilesChangeInfo,
|
/* GSF_AIRPORTTILES */ AirportTilesChangeInfo,
|
||||||
};
|
};
|
||||||
static_assert(lengthof(handler) == lengthof(_cur.grffile->action0_property_remaps));
|
static_assert(lengthof(handler) == lengthof(_cur.grffile->action0_property_remaps), "Action 0 featur elist length mismatch");
|
||||||
|
|
||||||
uint8 feature = buf->ReadByte();
|
uint8 feature = buf->ReadByte();
|
||||||
uint8 numprops = buf->ReadByte();
|
uint8 numprops = buf->ReadByte();
|
||||||
|
Reference in New Issue
Block a user