From c18aab53573cfec8e75ddd647cbceca98948a700 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 19 Dec 2019 13:51:10 +0200 Subject: [PATCH] [General] Use default values of 0 for Attack floats in BaseStructs --- components/openmw-mp/Base/BaseStructs.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/openmw-mp/Base/BaseStructs.hpp b/components/openmw-mp/Base/BaseStructs.hpp index 34a847505..9bbfeba6a 100644 --- a/components/openmw-mp/Base/BaseStructs.hpp +++ b/components/openmw-mp/Base/BaseStructs.hpp @@ -79,8 +79,8 @@ namespace mwmp ESM::Position hitPosition; - float damage; - float attackStrength; + float damage = 0; + float attackStrength = 0; bool isHit = false; bool success = false;