Skip to content

Instantly share code, notes, and snippets.

Avatar

Jean-Patrick Guerrero kilbith

View GitHub Profile
View diff
diff --git a/src/client/camera.cpp b/src/client/camera.cpp
index 46464404..5426b9df 100644
--- a/src/client/camera.cpp
+++ b/src/client/camera.cpp
@@ -234,7 +234,7 @@ void Camera::addArmInertia(f32 player_yaw)
m_last_cam_pos.X = player_yaw;
m_wieldmesh_offset.X = rangelim(m_wieldmesh_offset.X,
- WIELDMESH_OFFSET_X - 7.0f, WIELDMESH_OFFSET_X + 7.0f);
+ WIELDMESH_OFFSET_X - 3.0f, WIELDMESH_OFFSET_X + 3.0f);
View camera.cpp
diff --git a/src/client/camera.cpp b/src/client/camera.cpp
index 46464404..5426b9df 100644
--- a/src/client/camera.cpp
+++ b/src/client/camera.cpp
@@ -234,7 +234,7 @@ void Camera::addArmInertia(f32 player_yaw)
m_last_cam_pos.X = player_yaw;
m_wieldmesh_offset.X = rangelim(m_wieldmesh_offset.X,
- WIELDMESH_OFFSET_X - 7.0f, WIELDMESH_OFFSET_X + 7.0f);
+ WIELDMESH_OFFSET_X - 3.0f, WIELDMESH_OFFSET_X + 3.0f);
You can’t perform that action at this time.