Core/Units: Second part of SMSG_MOVE_SET_COLLISION_HGT implementation: compute proper collision height according to client formulae and send this to the client when mounting up.
This commit is contained in:
@@ -760,7 +760,7 @@ struct CreatureModelDataEntry
|
||||
//uint32 Flags;
|
||||
//char* ModelPath[16]
|
||||
//uint32 Unk1;
|
||||
//float Scale; // Used in calculation of unit collision data
|
||||
float Scale; // Used in calculation of unit collision data
|
||||
//int32 Unk2
|
||||
//int32 Unk3
|
||||
//uint32 Unk4
|
||||
@@ -770,9 +770,9 @@ struct CreatureModelDataEntry
|
||||
//float Unk8
|
||||
//uint32 Unk9
|
||||
//uint32 Unk10
|
||||
float CollisionWidth;
|
||||
//float CollisionWidth;
|
||||
float CollisionHeight;
|
||||
//float Unk11; // Used in calculation of unit collision data when mounted
|
||||
float MountHeight; // Used in calculation of unit collision data when mounted
|
||||
//float Unks[11]
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user