setting spawn2.version to -1 will now properly spawn mobs in all zone versions (#1299)

This commit is contained in:
splose 2021-03-16 00:57:54 -04:00 committed by GitHub
parent cd08c96fa4
commit e9cd0b15a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,7 +191,8 @@ bool ZoneDatabase::LoadSpawnGroups(const char *zone_name, uint16 version, SpawnG
WHERE WHERE
spawn2.spawngroupID = spawngroup.ID spawn2.spawngroupID = spawngroup.ID
AND AND
spawn2.version = {} and zone = '{}' (spawn2.version = {} OR version = -1)
AND zone = '{}'
{} {}
), ),
version, version,