diff --git a/zone/aa.cpp b/zone/aa.cpp index 0f94b8c72..b1c561c9e 100644 --- a/zone/aa.cpp +++ b/zone/aa.cpp @@ -547,9 +547,9 @@ void Mob::TemporaryPets(uint16 spell_id, Mob *targ, const char *name_override, u summon_count = MAX_SWARM_PETS; static const xy_location swarmPetLocations[MAX_SWARM_PETS] = { - {5, 5}, {-5, 5}, {5, -5}, {-5, -5}, - {10, 10}, {-10, 10}, {10, -10}, {-10, -10}, - {8, 8}, {-8, 8}, {8, -8}, {-8, -8} + xy_location(5, 5), xy_location(-5, 5), xy_location(5, -5), xy_location(-5, -5), + xy_location(10, 10), xy_location(-10, 10), xy_location(10, -10), xy_location(-10, -10), + xy_location(8, 8), xy_location(-8, 8), xy_location(8, -8), xy_location(-8, -8) }; while(summon_count > 0) { @@ -643,11 +643,11 @@ void Mob::TypesTemporaryPets(uint32 typesid, Mob *targ, const char *name_overrid if(summon_count > MAX_SWARM_PETS) summon_count = MAX_SWARM_PETS; - static const xy_location swarmPetLocations[MAX_SWARM_PETS] = { - {5, 5}, {-5, 5}, {5, -5}, {-5, -5}, - {10, 10}, {-10, 10}, {10, -10}, {-10, -10}, - {8, 8}, {-8, 8}, {8, -8}, {-8, -8} - }; + static const xy_location swarmPetLocations[MAX_SWARM_PETS] = { + xy_location(5, 5), xy_location(-5, 5), xy_location(5, -5), xy_location(-5, -5), + xy_location(10, 10), xy_location(-10, 10), xy_location(10, -10), xy_location(-10, -10), + xy_location(8, 8), xy_location(-8, 8), xy_location(8, -8), xy_location(-8, -8) + };; while(summon_count > 0) { int pet_duration = pet.duration; diff --git a/zone/client.cpp b/zone/client.cpp index f6b96aa46..feb47dc6f 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -6275,9 +6275,9 @@ void Client::Doppelganger(uint16 spell_id, Mob *target, const char *name_overrid summon_count = MAX_SWARM_PETS; static const xy_location swarmPetLocations[MAX_SWARM_PETS] = { - {5, 5}, {-5, 5}, {5, -5}, {-5, -5}, - {10, 10}, {-10, 10}, {10, -10}, {-10, -10}, - {8, 8}, {-8, 8}, {8, -8}, {-8, -8} + xy_location(5, 5), xy_location(-5, 5), xy_location(5, -5), xy_location(-5, -5), + xy_location(10, 10), xy_location(-10, 10), xy_location(10, -10), xy_location(-10, -10), + xy_location(8, 8), xy_location(-8, 8), xy_location(8, -8), xy_location(-8, -8) }; while(summon_count > 0) {