aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-19 16:52:53 +0200
committerSpp <none@none>2010-04-19 16:52:53 +0200
commit5a728274266a6f66a3bd6b3cda1ec9766ac35277 (patch)
treef9eb671b13a624a89fe950cd7f1db67aae00e367 /src
parentbbeb5d49da583c3289628638b8083380e0a55733 (diff)
Hinterlands: Fix one Waypoint of npc OOx09HL
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/scripts/eastern_kingdoms/hinterlands.cpp6
1 files changed, 3 insertions, 3 deletions
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: