[svn] Fix a bug that players cannot hear others talking.

Provide script support for type 10 gameobject.
Add some missing script sql.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-11-12 16:21:08 -06:00
parent e3a9de2d84
commit 379bc3682c
11 changed files with 126 additions and 84 deletions

View File

@@ -533,7 +533,7 @@ void Map::MessageBroadcast(WorldObject *obj, WorldPacket *msg, bool to_possessor
cell_lock->Visit(cell_lock, message, *this);
}
void Map::MessageDistBroadcast(Player *player, WorldPacket *msg, float dist, bool to_self, bool own_team_only, bool to_possessor)
void Map::MessageDistBroadcast(Player *player, WorldPacket *msg, float dist, bool to_self, bool to_possessor, bool own_team_only)
{
CellPair p = Trinity::ComputeCellPair(player->GetPositionX(), player->GetPositionY());