WEAPON_CROSSBOW & WEAPON_PYTHON: Undo zoom upon reload.

This commit is contained in:
Marco Cawthorne 2022-05-01 19:14:11 -07:00
parent f238fd41e4
commit 82557ee0b0
Signed by: eukara
GPG Key ID: C196CD8BA993248A
2 changed files with 6 additions and 0 deletions

View File

@ -240,6 +240,9 @@ w_crossbow_reload(player pl)
if (pl.crossbow_mag >= 5) {
return;
}
/* undo our zoom */
pl.viewzoom = 1.0f;
#ifdef SERVER
static void w_crossbow_reload_done(void) {

View File

@ -198,6 +198,9 @@ w_python_reload(player pl)
return;
}
/* undo our zoom */
pl.viewzoom = 1.0f;
/* Audio-Visual bit */
Weapons_ViewAnimation(pl, PYTHON_RELOAD);