• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-c誰得cocoaqtpythonrubywindowsphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

This is a fork of Zandronum Beta for TSPG.


Commit MetaInfo

Revisionf6e16faa312d06e9228de9497645a8460d6bf4d6 (tree)
Time2021-09-30 22:31:02
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Reduced the weapon sway by half. This should make it feel more realistic.

Change Summary

Incremental Difference

diff -r 4041f8ff6edd -r f6e16faa312d src/p_pspr.cpp
--- a/src/p_pspr.cpp Wed Sep 29 17:34:32 2021 -0400
+++ b/src/p_pspr.cpp Thu Sep 30 09:31:02 2021 -0400
@@ -592,8 +592,8 @@
592592 if ((paused == false) && (P_CheckTickerPaused() == false) && (CLIENT_GetServerLagging() == false))
593593 {
594594 fixed_t nswaypos[2];
595- nswaypos[0] = FLOAT2FIXED(FIXED2FLOAT(player->mo->AngleDelta) * cl_swayspeed / 128.0f);
596- nswaypos[1] = FLOAT2FIXED(FIXED2FLOAT(player->mo->PitchDelta) * cl_swayspeed / 128.0f);
595+ nswaypos[0] = FLOAT2FIXED(FIXED2FLOAT(player->mo->AngleDelta) * cl_swayspeed / 256.0f);
596+ nswaypos[1] = FLOAT2FIXED(FIXED2FLOAT(player->mo->PitchDelta) * cl_swayspeed / 256.0f);
597597
598598 for (int i = 0; i <= 1; i++)
599599 {