From 2fa478f676cb1ae92e84b9a4fbaa30cccda278a6 Mon Sep 17 00:00:00 2001 From: Dregu Date: Sun, 15 Aug 2021 14:40:23 +0300 Subject: [PATCH] one day I'll remember to run clang format --- src/game_api/state_structs.hpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/game_api/state_structs.hpp b/src/game_api/state_structs.hpp index e3517f8b1..4fafa5b4b 100644 --- a/src/game_api/state_structs.hpp +++ b/src/game_api/state_structs.hpp @@ -73,18 +73,22 @@ struct PlayerSlotSettings struct PlayerInputs { - union { + union + { std::array player_slots; - struct { + struct + { PlayerSlot player_slot_1; PlayerSlot player_slot_2; PlayerSlot player_slot_3; PlayerSlot player_slot_4; }; }; - union { + union + { std::array player_settings; - struct { + struct + { PlayerSlotSettings player_slot_1_settings; PlayerSlotSettings player_slot_2_settings; PlayerSlotSettings player_slot_3_settings;