aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <none@none>2010-12-03 14:14:08 +0100
committerShauren <none@none>2010-12-03 14:14:08 +0100
commit892f56c37d919381b5a98910eaccaf3374a9afb6 (patch)
tree6e98dfccda82ed4147f1ca2be822b7c2d8bcb93a /src
parent96ab1a102f602050099d7b2487cca64e4eaeba22 (diff)
Fixed compile, missed these changes
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/World/item_scripts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/World/item_scripts.cpp b/src/server/scripts/World/item_scripts.cpp
index 7acd7ebab97..1789e1fab33 100644
--- a/src/server/scripts/World/item_scripts.cpp
+++ b/src/server/scripts/World/item_scripts.cpp
@@ -131,9 +131,9 @@ public:
{
if (player->GetQuestStatus(10832) == QUEST_STATUS_INCOMPLETE)
{
- if (Creature *nether = player->SummonCreature(22408, pPlayer->GetPositionX(), pPlayer->GetPositionY()+20, pPlayer->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 180000))
+ if (Creature *nether = player->SummonCreature(22408, player->GetPositionX(), player->GetPositionY()+20, player->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 180000))
nether->AI()->AttackStart(player);
- if (Creature *nether = player->SummonCreature(22408, pPlayer->GetPositionX(), pPlayer->GetPositionY()-20, pPlayer->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 180000))
+ if (Creature *nether = player->SummonCreature(22408, player->GetPositionX(), player->GetPositionY()-20, player->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 180000))
nether->AI()->AttackStart(player);
}
return false;