Merge pull request #7 from preston-thompson/master

Fix cstrike invisible weapons issue when zoomed in
This commit is contained in:
Marco Cawthorne 2022-12-30 16:58:30 -08:00 committed by GitHub
commit 324cbeb073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,6 +169,9 @@ Weapons_Draw(player pl)
{
int i = pl.activeweapon;
/* In case the previous weapon hid the model */
Weapons_EnableModel();
pl.w_attack_next = 0.5f;
pl.w_idle_next = 2.5f;
pl.viewzoom = 1.0f;