[10901] Allow vehicles to have gossip menu

In addition rename IsGameobject -> IsGameObject.
This commit is contained in:
zergtmn 2010-12-21 15:11:41 +05:00
parent d736fe9d9a
commit 2f4e7a9377
8 changed files with 12 additions and 13 deletions

View file

@ -528,7 +528,7 @@ void WorldSession::HandleLootMasterGiveOpcode( WorldPacket & recv_data )
pLoot = &pCreature->loot;
}
else if(lootguid.IsGameobject())
else if(lootguid.IsGameObject())
{
GameObject *pGO = GetPlayer()->GetMap()->GetGameObject(lootguid);
if(!pGO)