Make weapon health short unsigned (fixes #4435)

0.6.3
Capostrophic 7 years ago committed by Capostrophic
parent cfdf99f601
commit eecde340cf

@ -57,7 +57,7 @@ struct Weapon
float mWeight; float mWeight;
int mValue; int mValue;
short mType; short mType;
short mHealth; unsigned short mHealth;
float mSpeed, mReach; float mSpeed, mReach;
short mEnchant; // Enchantment points. The real value is mEnchant/10.f short mEnchant; // Enchantment points. The real value is mEnchant/10.f
unsigned char mChop[2], mSlash[2], mThrust[2]; // Min and max unsigned char mChop[2], mSlash[2], mThrust[2]; // Min and max

Loading…
Cancel
Save