ref: 2fe3bbb5565add2389ef617ed10154bb2d00d1d6
parent: 14beb90cff5951dab1eefb2457dbe4da9b349b39
author: Derrick Schwabe <[email protected]>
date: Thu Jun 18 21:59:52 EDT 2015
Ensure X axis mouse aim works while strafing.
--- a/Game/src/player.c
+++ b/Game/src/player.c
@@ -2069,10 +2069,16 @@
}
if ( ACTION( gamefunc_Strafe_Left ) )
+ {
svel += keymove;
+ angvel = (info.dyaw+previousInfoDyaw)/64;
+ }
if ( ACTION( gamefunc_Strafe_Right ) )
+ {
svel += -keymove;
+ angvel = (info.dyaw+previousInfoDyaw)/64;
+ }
if ( ACTION(gamefunc_Move_Forward) )
vel += keymove;