Merge pull request #1727 from Capostrophic/refloading

Make weapon durability short unsigned (bug #4435)
This commit is contained in:
Bret Curtis 2018-06-02 17:42:17 +02:00 committed by GitHub
commit 2810a87956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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