Mass: improve formatting slightly.

This commit is contained in:
Guillaume Jacquemin 2024-03-11 22:16:51 +01:00
parent 5cb04e7c20
commit 20f116d832
Signed by: williamjcm
SSH key fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A

View file

@ -356,7 +356,7 @@ Mass::writeWeaponType(Containers::StringView prop_name, Containers::ArrayView<We
} }
weapon_prop->at<Gvas::Types::BoolProperty>(MASS_WEAPON_DUAL_WIELD)->value = weapon.dualWield; weapon_prop->at<Gvas::Types::BoolProperty>(MASS_WEAPON_DUAL_WIELD)->value = weapon.dualWield;
switch(weapon.effectColourMode) { switch(weapon.effectColourMode) {
#define c(enumerator, enumstr) case Weapon::EffectColourMode::enumerator: \ #define c(enumerator, enumstr) case Weapon::EffectColourMode::enumerator: \
weapon_prop->at<Gvas::Types::ByteProperty>(MASS_WEAPON_COLOUR_EFX_MODE)->enumValue = enumstr; \ weapon_prop->at<Gvas::Types::ByteProperty>(MASS_WEAPON_COLOUR_EFX_MODE)->enumValue = enumstr; \
break; break;
#include "../Maps/EffectColourModes.hpp" #include "../Maps/EffectColourModes.hpp"