mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +00:00
[Build] Most errors fixed
This commit is contained in:
parent
868302dd0b
commit
778052084e
70 changed files with 619 additions and 602 deletions
|
|
@ -486,7 +486,7 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket& recv_data)
|
|||
std::string msg;
|
||||
msg = recv_data.ReadString(recv_data.ReadBits(9));
|
||||
|
||||
if (!_player->isInCombat())
|
||||
if (!_player->IsInCombat())
|
||||
{
|
||||
if (_player->isAFK()) // Already AFK
|
||||
{
|
||||
|
|
@ -649,7 +649,7 @@ void WorldSession::HandleAddonMessagechatOpcode(WorldPacket& recv_data)
|
|||
|
||||
void WorldSession::HandleEmoteOpcode(WorldPacket& recv_data)
|
||||
{
|
||||
if (!GetPlayer()->isAlive() || GetPlayer()->hasUnitState(UNIT_STAT_DIED))
|
||||
if (!GetPlayer()->IsAlive() || GetPlayer()->hasUnitState(UNIT_STAT_DIED))
|
||||
return;
|
||||
|
||||
uint32 emote;
|
||||
|
|
@ -695,7 +695,7 @@ namespace MaNGOS
|
|||
|
||||
void WorldSession::HandleTextEmoteOpcode(WorldPacket& recv_data)
|
||||
{
|
||||
if (!GetPlayer()->isAlive())
|
||||
if (!GetPlayer()->IsAlive())
|
||||
return;
|
||||
|
||||
if (!GetPlayer()->CanSpeak())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue