Skip to content

Commit 1280dcf

Browse files
committed
Draw viewmodel weapons when FOV > 90 (fixes #69).
1 parent 2a92040 commit 1280dcf

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This is the official Quake 2 code v3.21 with additional Vulkan renderer and miss
1818
- console contents can be scrolled with mouse wheel
1919
- behavior of video menu has been altered so that pressing escape does not restart the rendering system
2020
- HUD elements, menus and console text are now scaled accordingly on higher screen resolutions (can be overridden with `hudscale` console command)
21+
- viewmodel weapons are no longer hidden when FOV > 90
2122
- warped texture effect (lava, water, slime) is now properly drawn (though only with Vulkan and software renderer!)
2223
- player vision is warped when underwater in a similar fashion to GLQuake
2324
- software renderer has been completely replaced with [KolorSoft 1.1](https://github.com/qbism/Quake2-colored-refsoft) - this adds colored lighting and fixes severe instabilities of the original renderer

client/cl_ents.c

-4
Original file line numberDiff line numberDiff line change
@@ -1342,10 +1342,6 @@ void CL_AddViewWeapon (player_state_t *ps, player_state_t *ops)
13421342
if (!cl_gun->value)
13431343
return;
13441344

1345-
// don't draw gun if in wide angle view
1346-
if (ps->fov > 90)
1347-
return;
1348-
13491345
memset (&gun, 0, sizeof(gun));
13501346

13511347
if (gun_model)

0 commit comments

Comments
 (0)