From 868ad2b78f19b54bb24f6d03c6408c4d917af027 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 19 Dec 2019 13:38:05 +0200 Subject: [PATCH] [General] Use default value of false for Attack booleans in BaseStructs --- components/openmw-mp/Base/BaseStructs.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/components/openmw-mp/Base/BaseStructs.hpp b/components/openmw-mp/Base/BaseStructs.hpp index 60b117709..34a847505 100644 --- a/components/openmw-mp/Base/BaseStructs.hpp +++ b/components/openmw-mp/Base/BaseStructs.hpp @@ -82,17 +82,17 @@ namespace mwmp float damage; float attackStrength; - bool isHit; - bool success; - bool block; + bool isHit = false; + bool success = false; + bool block = false; - bool pressed; - bool instant; - bool knockdown; - bool applyWeaponEnchantment; - bool applyAmmoEnchantment; + bool pressed = false; + bool instant = false; + bool knockdown = false; + bool applyWeaponEnchantment = false; + bool applyAmmoEnchantment = false; - bool shouldSend; + bool shouldSend = false; }; class Cast