| 2681 | #define ZOOM_FOV_TARGET 18 |
| 2682 | |
| 2683 | void DoZoomStay() { |
| 2684 | if (Zoom_fov_time > 0) { |
| 2685 | Render_FOV = ZOOM_FOV_TARGET; |
| 2686 | Zoom_fov_time -= Frametime; |
| 2687 | if (Zoom_fov_time < 0) { |
| 2688 | Zoom_fov_time = 0; |
| 2689 | Players[Player_num].flags &= ~PLAYER_FLAGS_ZOOMED; |
| 2690 | Render_FOV = D3_DEFAULT_FOV; |
| 2691 | } |
| 2692 | } |
| 2693 | } |
| 2694 | |
| 2695 | // Zooms in for this weapon |
| 2696 | void DoZoomEffect(player_weapon *pw, uint8_t clear) { |