Codechange: Reorder CargoSpec to reduce alignment padding.

This commit is contained in:
Peter Nelson
2023-09-17 17:42:34 +01:00
committed by PeterN
parent e8cbc3c2c7
commit 280dce9543
2 changed files with 4 additions and 4 deletions

View File

@@ -44,9 +44,9 @@
* @param classes Classes of this cargo type. @see CargoClass
*/
#define MK(bt, label, colour, weight, mult, ip, td1, td2, freight, te, str_plural, str_singular, str_volume, classes) \
{bt, label, colour, colour, weight, mult, ip, {td1, td2}, freight, te, 0, \
{label, bt, colour, colour, weight, mult, classes, ip, {td1, td2}, freight, te, 0, \
MK_STR_CARGO_PLURAL(str_plural), MK_STR_CARGO_SINGULAR(str_singular), str_volume, MK_STR_QUANTITY(str_plural), MK_STR_ABBREV(str_plural), \
MK_SPRITE(str_plural), classes, nullptr, nullptr, 0}
MK_SPRITE(str_plural), nullptr, nullptr, 0}
/** Cargo types available by default. */
static const CargoSpec _default_cargo[] = {