Core/Movement: Updated/Added/Removed/Renamed Movement related Opcodes.

- Rearranged opcodes enum
(started working on structs + have to check new naming and such)
This commit is contained in:
Rat committed 2012-01-19 20:11:32 +01:00
1 parent 64d0d3b2a5
commit fa77969184
9 files changed
+270 -240

No files matched your search

+1 -1
View File
@@ -364,7 +364,7 @@ bool Vehicle::AddPassenger(Unit* unit, int8 seatId)
if (_me->IsInWorld())
{
unit->SendClearTarget(); // SMSG_BREAK_TARGET
unit->SetControlled(true, UNIT_STAT_ROOT); // SMSG_FORCE_ROOT - In some cases we send SMSG_SPLINE_MOVE_ROOT here (for creatures)
unit->SetControlled(true, UNIT_STAT_ROOT); // SMSG_FORCE_ROOT - In some cases we send SMSG_MOVE_SPLINE_ROOT here (for creatures)
// also adds MOVEMENTFLAG_ROOT
unit->SendMonsterMoveTransport(_me); // SMSG_MONSTER_MOVE_TRANSPORT