Merge pull request #1727 from Capostrophic/refloading

Make weapon durability short unsigned (bug #4435)
pull/1729/head
Bret Curtis 7 years ago committed by GitHub
commit 2810a87956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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