mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 23:01:30 +00:00
fix
This commit is contained in:
parent
57f8f61094
commit
f84130fc7c
@ -1820,7 +1820,7 @@ const NPCType* ZoneDatabase::GetNPCType (uint32 id) {
|
|||||||
if (row[34] != nullptr)
|
if (row[34] != nullptr)
|
||||||
strn0cpy(tmpNPCType->special_abilities, row[34], 512);
|
strn0cpy(tmpNPCType->special_abilities, row[34], 512);
|
||||||
else
|
else
|
||||||
tmpNPCTYpe->special_abilities[0] = '\0';
|
tmpNPCType->special_abilities[0] = '\0';
|
||||||
|
|
||||||
tmpNPCType->npc_spells_id = atoi(row[35]);
|
tmpNPCType->npc_spells_id = atoi(row[35]);
|
||||||
tmpNPCType->npc_spells_effects_id = atoi(row[36]);
|
tmpNPCType->npc_spells_effects_id = atoi(row[36]);
|
||||||
@ -2027,7 +2027,7 @@ const NPCType* ZoneDatabase::GetMercType(uint32 id, uint16 raceid, uint32 client
|
|||||||
if (row[27] != nullptr)
|
if (row[27] != nullptr)
|
||||||
strn0cpy(tmpNPCType->special_abilities, row[27], 512);
|
strn0cpy(tmpNPCType->special_abilities, row[27], 512);
|
||||||
else
|
else
|
||||||
tmpNPCTYpe->special_abilities[0] = '\0';
|
tmpNPCType->special_abilities[0] = '\0';
|
||||||
|
|
||||||
tmpNPCType->d_meele_texture1 = atoi(row[28]);
|
tmpNPCType->d_meele_texture1 = atoi(row[28]);
|
||||||
tmpNPCType->d_meele_texture2 = atoi(row[29]);
|
tmpNPCType->d_meele_texture2 = atoi(row[29]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user