fix: resetting rifle aiming state on switch out
This commit is contained in:
parent
373d5fcf43
commit
458b6f8079
|
@ -185,6 +185,8 @@ void Rifle::notify_deselected() {
|
||||||
if (HeadsUpDisplay * hud{ HeadsUpDisplay::get_singleton() }) {
|
if (HeadsUpDisplay * hud{ HeadsUpDisplay::get_singleton() }) {
|
||||||
hud->set_reticle_visibility(true);
|
hud->set_reticle_visibility(true);
|
||||||
}
|
}
|
||||||
|
this->in_alt_mode = false;
|
||||||
|
this->fov = 0.f;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Rifle::reload_full() {
|
void Rifle::reload_full() {
|
||||||
|
|
Loading…
Reference in a new issue