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