Fix syntax of static_assert

pull/73/head
Jonathan G Rennison 6 years ago
parent 9a6a66a054
commit 2bb6877f18

@ -4552,7 +4552,7 @@ static void FeatureChangeInfo(ByteReader *buf)
/* GSF_RAILTYPES */ RailTypeChangeInfo,
/* 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 numprops = buf->ReadByte();

Loading…
Cancel
Save