--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-24 21:14:00 -06:00
commit 5fda499266
10 files changed
+244 -379

No files matched your search

+8
View File
@@ -195,13 +195,21 @@ bool ChatHandler::HandleSendOpcodeCommand(const char* /*args*/)
data.append(unit->GetPackGUID());
}
else if(type == "myguid")
{
data.append(player->GetPackGUID());
}
else if(type == "pos")
{
data << unit->GetPositionX();
data << unit->GetPositionY();
data << unit->GetPositionZ();
}
else if(type == "mypos")
{
data << player->GetPositionX();
data << player->GetPositionY();
data << player->GetPositionZ();
}
else
{
sLog.outDebug("Sending opcode: unknown type '%s'", type.c_str());