[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
+2 -3
View File
@@ -5281,7 +5281,7 @@ void Player::SendMessageToSetInRange(WorldPacket *data, float dist, bool self, b
MapManager::Instance().GetMap(GetMapId(), this)->MessageDistBroadcast(this, data, dist, self, to_possessor);
}
void Player::SendMessageToSetInRange(WorldPacket *data, float dist, bool self, bool own_team_only, bool to_possessor)
void Player::SendMessageToSetInRange(WorldPacket *data, float dist, bool self, bool to_possessor, bool own_team_only)
{
MapManager::Instance().GetMap(GetMapId(), this)->MessageDistBroadcast(this, data, dist, self, to_possessor, own_team_only);
}
@@ -8623,7 +8623,6 @@ bool Player::IsValidPos( uint8 bag, uint8 slot )
return false;
}
bool Player::HasItemCount( uint32 item, uint32 count, bool inBankAlso ) const
{
uint32 tempcount = 0;
@@ -16605,7 +16604,7 @@ bool Player::ActivateTaxiPathTo(std::vector<uint32> const& nodes, uint32 mount_i
ModifyMoney(-(int32)totalcost);
// prevent stealth flight
RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_TALK);
//RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_TALK);
WorldPacket data(SMSG_ACTIVATETAXIREPLY, 4);
data << uint32(ERR_TAXIOK);