1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-28 14:39:41 +00:00

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