QW-Group/ezquake-source

BUG: default_fov is reported to be broken

se-sss opened this issue · 0 comments

It looks like default_fov functionality is broken at least for regular TF mode.
This functionality was working following:
User prefer some fov. Let it be 105 for example.
To play TF he sets fov and default _fov variables.

When player affected by concussion grenade server sends command to set fov 120.
After a while concussion effect ends and server sends command "fov 90".
The idea of default_fov variable was that when player receives "fov 90" actual effect it to set fov to 105 ( value of default_fov in example )

Currently behaviour is completely weird.
Steps to reproduce the behavior (all steps done with console without server):

  1. Connect to server and set fov and default_fov to 105'
  2. Change fov to 110
  3. check current value of default_fov
    ( just type /default_fov)
    It is 110. Broken!
    Expected is 105
  4. Now enter:
    /fov 90
    Expected final result:
    default_fov and actual fov must be 105'