use spectfov or remote player's fov when spectating
| 471 | VARP(spectfov, 5, 110, 120); |
| 472 | VARP(spectfovremote, 0, 0, 1); // use spectfov or remote player's fov when spectating |
| 473 | void fovchanged() |
| 474 | { |
| 475 | extern float autoscopesensscale; |
| 476 | autoscopesensscale = tan(((float)scopefov)*0.5f*RAD)/tan(fov*0.5f*RAD); |
| 477 | player1->ffov = (int)fov; |
| 478 | player1->scopefov = scopefov; |
| 479 | } |
| 480 | |
| 481 | float dynfov() |
| 482 | { |