[11805] Send unit movement speeds in the proper order, correct baseMoveSpeed value order

Signed-off-by: SilverIce <slifeleaf@gmail.com>
This commit is contained in:
Midna 2011-09-25 09:37:54 +03:00 committed by SilverIce
parent f48a7867ac
commit cad083b1a8
3 changed files with 5 additions and 5 deletions

View file

@ -272,9 +272,9 @@ void Object::BuildMovementUpdate(ByteBuffer * data, uint16 updateFlags) const
// Unit speeds
*data << float(unit->GetSpeed(MOVE_WALK));
*data << float(unit->GetSpeed(MOVE_RUN));
*data << float(unit->GetSpeed(MOVE_SWIM_BACK));
*data << float(unit->GetSpeed(MOVE_SWIM));
*data << float(unit->GetSpeed(MOVE_RUN_BACK));
*data << float(unit->GetSpeed(MOVE_SWIM));
*data << float(unit->GetSpeed(MOVE_SWIM_BACK));
*data << float(unit->GetSpeed(MOVE_FLIGHT));
*data << float(unit->GetSpeed(MOVE_FLIGHT_BACK));
*data << float(unit->GetSpeed(MOVE_TURN_RATE));