mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Added ignore_despawn column to npc_types to have NPCs ignore the despawn column in spawngroup.
This commit is contained in:
+3
-1
@@ -1966,7 +1966,8 @@ const NPCType* ZoneDatabase::LoadNPCTypesData(uint32 npc_type_id, bool bulk_load
|
||||
"npc_types.bracertexture, "
|
||||
"npc_types.handtexture, "
|
||||
"npc_types.legtexture, "
|
||||
"npc_types.feettexture "
|
||||
"npc_types.feettexture, "
|
||||
"npc_types.ignore_despawn "
|
||||
"FROM npc_types %s",
|
||||
where_condition.c_str()
|
||||
);
|
||||
@@ -2141,6 +2142,7 @@ const NPCType* ZoneDatabase::LoadNPCTypesData(uint32 npc_type_id, bool bulk_load
|
||||
temp_npctype_data->handtexture = atoi(row[94]);
|
||||
temp_npctype_data->legtexture = atoi(row[95]);
|
||||
temp_npctype_data->feettexture = atoi(row[96]);
|
||||
temp_npctype_data->ignore_despawn = atoi(row[97]) == 1 ? true : false;
|
||||
|
||||
// If NPC with duplicate NPC id already in table,
|
||||
// free item we attempted to add.
|
||||
|
||||
Reference in New Issue
Block a user