opendarkeden / server

42 stars 32 forks source link

database: modify UpdateVampireWeapon table EnchantLevel column type to unsigned #115

Closed tiancaiamao closed 1 year ago

tiancaiamao commented 1 year ago

close #113

In ItemTypes.h, the definition of EnchantLevel_t is char, In VampireWeapon.cpp, it's formated with %d, that may result in a negative number. So change the database definition for it.