• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum for TSPG.


Commit MetaInfo

Revisão97354c080c6a768729a93842289d59ed34769f2d (tree)
Hora2017-03-06 03:39:59
AutorBenjamin Berkels <torr.samaho@quan...>
CommiterBenjamin Berkels

Mensagem de Log

The server doesn't enforce the SR50 turn lock anymore if sv_cheats is true. This way turbo 103+ works properly on the clients (addresses 2672).

Mudança Sumário

Diff

diff -r 523e437b46e1 -r 97354c080c6a src/sv_main.cpp
--- a/src/sv_main.cpp Sun Mar 05 16:57:30 2017 +0100
+++ b/src/sv_main.cpp Sun Mar 05 19:39:59 2017 +0100
@@ -5260,7 +5260,7 @@
52605260 if (SERVER_GetClient(ulClient)->State == CLS_SPAWNED) {
52615261 pPlayer->mo->pitch = moveCmd.pitch;
52625262 // [HYP] Lock angle if speed is above sr40
5263- if (pCmd->ucmd.sidemove > ( sidemove[1] << 8 ) || pCmd->ucmd.sidemove < -(sidemove[1] << 8))
5263+ if ( !sv_cheats && ( pCmd->ucmd.sidemove > ( sidemove[1] << 8 ) || pCmd->ucmd.sidemove < -(sidemove[1] << 8) ) )
52645264 {
52655265 pCmd->ucmd.yaw = 0;
52665266 }