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
@@ -36,9 +36,9 @@ class go_barrel_old_hillsbrad : public GameObjectScript
public:
go_barrel_old_hillsbrad() : GameObjectScript("go_barrel_old_hillsbrad") { }
bool OnGossipHello(Player* /*player*/, GameObject* pGO)
bool OnGossipHello(Player* /*player*/, GameObject* go)
{
if (InstanceScript* instance = pGO->GetInstanceScript())
if (InstanceScript* instance = go->GetInstanceScript())
{
if (instance->GetData(TYPE_BARREL_DIVERSION) == DONE)
return false;
@@ -93,10 +93,10 @@ class go_gong : public GameObjectScript
public:
go_gong() : GameObjectScript("go_gong") { }
bool OnGossipHello(Player* /*player*/, GameObject* pGO)
bool OnGossipHello(Player* /*player*/, GameObject* go)
{
//basic support, not blizzlike data is missing...
InstanceScript* instance = pGO->GetInstanceScript();
InstanceScript* instance = go->GetInstanceScript();
if (instance)
{