mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Feature] Add Support for item textures higher than 65,535 (#3494)
* [Feature] Add Support for item textures higher than 65,535 # Notes - We were previously using `uint16` which has a max of `65,535`, but some of the new Live textures that are being used have values way beyond this. - Updates quest API, commands, and database tables that also used `uint16`. * Update version.h
This commit is contained in:
+2
-2
@@ -2269,8 +2269,8 @@ const NPCType* ZoneDatabase::GetMercType(uint32 id, uint16 raceid, uint32 client
|
||||
else
|
||||
tmpNPCType->special_abilities[0] = '\0';
|
||||
|
||||
tmpNPCType->d_melee_texture1 = Strings::ToInt(row[28]);
|
||||
tmpNPCType->d_melee_texture2 = Strings::ToInt(row[29]);
|
||||
tmpNPCType->d_melee_texture1 = Strings::ToUnsignedInt(row[28]);
|
||||
tmpNPCType->d_melee_texture2 = Strings::ToUnsignedInt(row[29]);
|
||||
tmpNPCType->prim_melee_type = Strings::ToInt(row[30]);
|
||||
tmpNPCType->sec_melee_type = Strings::ToInt(row[31]);
|
||||
tmpNPCType->runspeed = Strings::ToFloat(row[32]);
|
||||
|
||||
Reference in New Issue
Block a user