mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
[svn] * PlaySound changed to SendPlaySound, moved to WorldObject and used everywhere instead of hard-coding packet
--HG-- branch : trunk
This commit is contained in:
@@ -216,7 +216,7 @@ bool ChatHandler::HandlePlaySound2Command(const char* args)
|
||||
return false;
|
||||
|
||||
uint32 soundid = atoi(args);
|
||||
m_session->GetPlayer()->PlaySound(soundid, false);
|
||||
m_session->GetPlayer()->SendPlaySound(soundid, false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user