summaryrefslogtreecommitdiff
path: root/src/genericobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/genericobject.cpp')
-rw-r--r--src/genericobject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/genericobject.cpp b/src/genericobject.cpp
index d86c47eb9..ba5281093 100644
--- a/src/genericobject.cpp
+++ b/src/genericobject.cpp
@@ -40,7 +40,7 @@ std::string gob_cmd_update_position(
v3f position,
v3f velocity,
v3f acceleration,
- f32 yaw,
+ v3f rotation,
bool do_interpolate,
bool is_movement_end,
f32 update_interval
@@ -54,8 +54,8 @@ std::string gob_cmd_update_position(
writeV3F1000(os, velocity);
// acceleration
writeV3F1000(os, acceleration);
- // yaw
- writeF1000(os, yaw);
+ // rotation
+ writeV3F1000(os, rotation);
// do_interpolate
writeU8(os, do_interpolate);
// is_end_position (for interpolation)