[Loading] Zone Version Loading Fixes (#2233)

* Zone version loading fixes

* Remove errant code
This commit is contained in:
Chris Miles
2022-05-31 22:15:05 -05:00
committed by GitHub
parent a45117cd04
commit 59f32b8d34
2 changed files with 23 additions and 26 deletions
+1 -1
View File
@@ -2356,7 +2356,7 @@ const NPCType *ZoneDatabase::LoadNPCTypesData(uint32 npc_type_id, bool bulk_load
SQL(
id IN (
select npcID from spawnentry where spawngroupID IN (
select spawngroupID from spawn2 where `zone` = '{}' and `version` = {}
select spawngroupID from spawn2 where `zone` = '{}' and (`version` = {} OR `version` = -1)
)
)
),