Fixed crash in lookup GO gossip

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2009-12-26 17:16:11 +01:00
parent aadbff5903
commit bb2b212e84

View File

@@ -1089,7 +1089,7 @@ void GameObject::Use(Unit* user)
data << GetGUID();
player->GetSession()->SendPacket(&data);
}
else if (info->goober.gossipID) // ...or gossip, if page does not exist
else if (info->questgiver.gossipID)
{
player->PrepareGossipMenu(this, info->goober.gossipID);
player->SendPreparedGossip(this);