]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Player leaning: Reverse acceleration angle, so players lean forward rather than back...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 28 Jan 2012 21:47:15 +0000 (23:47 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 28 Jan 2012 21:47:15 +0000 (23:47 +0200)
data/qcsrc/server/cl_client.qc
docs/TODO.txt

index 29d6582c69821fe3b0c002ca70513159b02d1262..039017cf5ce0403a7e8b5b4c8aad8ebfc0f1ef96 100644 (file)
@@ -2613,7 +2613,7 @@ void PlayerPreThink (void)
                        accel_y = bound(-cvar("g_leanplayer_acceleration_max"), accel_y, cvar("g_leanplayer_acceleration_max"));\r
                        accel_z = bound(-cvar("g_leanplayer_acceleration_max"), accel_z, cvar("g_leanplayer_acceleration_max"));\r
 \r
-                       L0_x = vlen(accel);\r
+                       L0_x = vlen(accel) * -1;\r
                        L0_y = L1_y = vectoyaw(accel);\r
 \r
                        L0 = AnglesTransform_FromAngles(L0);\r
index 0d9edcbd93418d7f301c13c6b33b2d8ed710e73e..033df879d6d421c6daad9d6551d92689c5eac03d 100644 (file)
 - 0.7 | 0.8 BUG: Gibbed dead bodies seem to keep throwing gibs infinitely on dedicated servers.\r
 \r
 - 0.8: Chat portraits for all models.\r
-\r
-- 0.7 | 0.8: Player leaning - Reverse angle on acceleration leaning
\ No newline at end of file