From 5a728274266a6f66a3bd6b3cda1ec9766ac35277 Mon Sep 17 00:00:00 2001 From: Spp Date: Mon, 19 Apr 2010 16:52:53 +0200 Subject: Hinterlands: Fix one Waypoint of npc OOx09HL --HG-- branch : trunk --- src/scripts/eastern_kingdoms/hinterlands.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/scripts/eastern_kingdoms/hinterlands.cpp') diff --git a/src/scripts/eastern_kingdoms/hinterlands.cpp b/src/scripts/eastern_kingdoms/hinterlands.cpp index a26a10cfdb1..59002936e14 100644 --- a/src/scripts/eastern_kingdoms/hinterlands.cpp +++ b/src/scripts/eastern_kingdoms/hinterlands.cpp @@ -82,9 +82,9 @@ struct npc_00x09hlAI : public npc_escortAI for (uint8 i = 0; i < 3; ++i) { const Position src = {147.927444f, -3851.513428f, 130.893f, 0}; - Position pos; - me->GetRandomNearPosition(pos, 7.0f); - DoSummon(NPC_MARAUDING_OWL, pos, 25000, TEMPSUMMON_CORPSE_TIMED_DESPAWN); + Position dst; + me->GetRandomPoint(src, 7.0f, dst); + DoSummon(NPC_MARAUDING_OWL, dst, 25000, TEMPSUMMON_CORPSE_TIMED_DESPAWN); } break; case 44: -- cgit v1.2.3