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

Loading…
Cancel
Save