mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[10901] Allow vehicles to have gossip menu
In addition rename IsGameobject -> IsGameObject.
This commit is contained in:
parent
d736fe9d9a
commit
2f4e7a9377
8 changed files with 12 additions and 13 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue