1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 08:15:34 +00:00

Make weapon health short unsigned (fixes #4435)

This commit is contained in:
Capostrophic 2018-06-02 15:41:05 +03:00 committed by Capostrophic
parent cfdf99f601
commit eecde340cf

View file

@ -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