File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class GuildHelper : public GuildScript
9595 {
9696 Field *fields = GameobjResult->Fetch ();
9797 uint32 lowguid = fields[0 ].Get <int32>();
98- if (GameObjectData const *go_data = sObjectMgr ->GetGOData (lowguid))
98+ if (GameObjectData const *go_data = sObjectMgr ->GetGameObjectData (lowguid))
9999 {
100100 if (GameObject *gobject = map->GetGameObject (ObjectGuid::Create<HighGuid::GameObject>(go_data->id , lowguid)))
101101 {
@@ -298,7 +298,7 @@ class GuildHouseSeller : public CreatureScript
298298 {
299299 Field *fields = GameobjResult->Fetch ();
300300 uint32 lowguid = fields[0 ].Get <uint32>();
301- if (GameObjectData const *go_data = sObjectMgr ->GetGOData (lowguid))
301+ if (GameObjectData const *go_data = sObjectMgr ->GetGameObjectData (lowguid))
302302 {
303303 if (GameObject *gobject = map->GetGameObject (ObjectGuid::Create<HighGuid::GameObject>(go_data->id , lowguid)))
304304 {
@@ -412,7 +412,7 @@ class GuildHouseSeller : public CreatureScript
412412 }
413413
414414 // TODO: is it really necessary to add both the real and DB table guid here ?
415- sObjectMgr ->AddGameobjectToGrid (guidLow, sObjectMgr ->GetGOData (guidLow));
415+ sObjectMgr ->AddGameobjectToGrid (guidLow, sObjectMgr ->GetGameObjectData (guidLow));
416416 CloseGossipMenuFor (player);
417417 }
418418
You can’t perform that action at this time.
0 commit comments