mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-03 08:03:50 +00:00
Fix movement, mounts, and terrain seams
This commit is contained in:
parent
a0f5743163
commit
b52e81182d
8 changed files with 93 additions and 27 deletions
|
|
@ -906,6 +906,7 @@ private:
|
|||
NpcSwingCallback npcSwingCallback_;
|
||||
MountCallback mountCallback_;
|
||||
uint32_t currentMountDisplayId_ = 0;
|
||||
float preMountRunSpeed_ = 0.0f;
|
||||
float serverRunSpeed_ = 7.0f;
|
||||
bool playerDead_ = false;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -449,6 +449,7 @@ struct UpdateBlock {
|
|||
// Movement data (for MOVEMENT updates)
|
||||
bool hasMovement = false;
|
||||
float x = 0.0f, y = 0.0f, z = 0.0f, orientation = 0.0f;
|
||||
float runSpeed = 0.0f;
|
||||
|
||||
// Field data (for VALUES and CREATE updates)
|
||||
std::map<uint16_t, uint32_t> fields;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue