Core/Script: Clean-Up in Scripts.
GameObject* pGO -> GameObject* go Signed-off-by: Gyx <[email protected]>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user