| 2049 | } |
| 2050 | |
| 2051 | void CWeapon::Show(bool now) |
| 2052 | { |
| 2053 | if (now) |
| 2054 | { |
| 2055 | StopCurrentAnimWithoutCallback(); |
| 2056 | OnStateSwitch(eIdle, GetState()); |
| 2057 | SetState(eIdle); |
| 2058 | StopHUDSounds(); |
| 2059 | } |
| 2060 | else |
| 2061 | SwitchState(eShowing); |
| 2062 | } |
| 2063 | |
| 2064 | bool CWeapon::show_crosshair() { return psActorFlags.test(AF_CROSSHAIR_DBG) || !(IsZoomed() && ZoomHideCrosshair()); } |
| 2065 |
no outgoing calls
no test coverage detected