[7948] Use SetFaction instead explcit field set, other cleanups. Author: NoFantasy
--HG-- branch : trunk
This commit is contained in:
1 parent
fc4f7e6cf1
commit
e3390806a9
5 files changed
+18
-18
No files matched your search
+1
-1
@@ -2012,7 +2012,7 @@ bool ChatHandler::HandleModifyMountCommand(const char* args)
|
||||
if (needReportToTarget(chr))
|
||||
ChatHandler(chr).PSendSysMessage(LANG_MOUNT_GIVED, GetNameLink().c_str());
|
||||
|
||||
chr->SetUInt32Value( UNIT_FIELD_FLAGS , 0x001000 );
|
||||
chr->SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PVP);
|
||||
chr->Mount(mId);
|
||||
|
||||
WorldPacket data( SMSG_FORCE_RUN_SPEED_CHANGE, (8+4+1+4) );
|
||||
|
||||
Reference in new issue
Block a user