ariel- committed 2016-01-11 01:50:45 -03:00
1 parent 694c89d76d
commit b3ea9fbbe5
163 files changed
+2448 -2328

No files matched your search

+2 -2
View File
@@ -177,11 +177,11 @@ class InstanceScript : public ZoneScript
inline Creature* GetCreature(uint32 type)
{
return ObjectAccessor::GetObjectInMap<Creature>(GetObjectGuid(type), instance, nullptr);
return instance->GetCreature(GetObjectGuid(type));
}
inline GameObject* GetGameObject(uint32 type)
{
return ObjectAccessor::GetObjectInMap<GameObject>(GetObjectGuid(type), instance, nullptr);
return instance->GetGameObject(GetObjectGuid(type));
}
// Called when a player successfully enters the instance.