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
1 changed files with 1 additions and 1 deletions

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;
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; \
break;
#include "../Maps/EffectColourModes.hpp"