Fix syntax of static_assert

This commit is contained in:
Jonathan G Rennison
2018-11-11 22:32:39 +00:00
parent 9a6a66a054
commit 2bb6877f18

View File

@@ -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();