Core/Script: Clean-Up in Scripts.

GameObject* pGO -> GameObject* go

Signed-off-by: Gyx <[email protected]>
This commit is contained in:
Gyx
2012-03-16 19:28:10 +08:00
parent fcbb222aca
commit 76c18e00c7
18 changed files with 159 additions and 159 deletions
@@ -1057,7 +1057,7 @@ class go_inconspicuous_mine_car : public GameObjectScript
public:
go_inconspicuous_mine_car() : GameObjectScript("go_inconspicuous_mine_car") { }
bool OnGossipHello(Player* player, GameObject* /*pGO*/)
bool OnGossipHello(Player* player, GameObject* /*go*/)
{
if (player->GetQuestStatus(12701) == QUEST_STATUS_INCOMPLETE)
{
@@ -394,7 +394,7 @@ class go_altar_of_archaedas : public GameObjectScript
{
}
bool OnGossipHello(Player* player, GameObject* /*pGO*/)
bool OnGossipHello(Player* player, GameObject* /*go*/)
{
InstanceScript* instance = player->GetInstanceScript();
if (!instance)
@@ -417,10 +417,10 @@ class go_second_trial : public GameObjectScript
public:
go_second_trial() : GameObjectScript("go_second_trial") { }
bool OnGossipHello(Player* /*player*/, GameObject* pGO)
bool OnGossipHello(Player* /*player*/, GameObject* go)
{
// find spawn :: master_kelerun_bloodmourn
if (Creature* creature = pGO->FindNearestCreature(MASTER_KELERUN_BLOODMOURN, 30.0f))
if (Creature* creature = go->FindNearestCreature(MASTER_KELERUN_BLOODMOURN, 30.0f))
CAST_AI(npc_second_trial_controller::master_kelerun_bloodmournAI, creature->AI())->StartEvent();
return true;