From eecde340cf33dbf2d30a696e68948253c710f01e Mon Sep 17 00:00:00 2001 From: Capostrophic Date: Sat, 2 Jun 2018 15:41:05 +0300 Subject: [PATCH] Make weapon health short unsigned (fixes #4435) --- components/esm/loadweap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esm/loadweap.hpp b/components/esm/loadweap.hpp index eddcaee4f..8b48b71b7 100644 --- a/components/esm/loadweap.hpp +++ b/components/esm/loadweap.hpp @@ -57,7 +57,7 @@ struct Weapon float mWeight; int mValue; short mType; - short mHealth; + unsigned short mHealth; float mSpeed, mReach; short mEnchant; // Enchantment points. The real value is mEnchant/10.f unsigned char mChop[2], mSlash[2], mThrust[2]; // Min and max