| 2035 | } |
| 2036 | |
| 2037 | void CWeapon::Hide(bool now) |
| 2038 | { |
| 2039 | if (now) |
| 2040 | { |
| 2041 | OnStateSwitch(eHidden, GetState()); |
| 2042 | SetState(eHidden); |
| 2043 | StopHUDSounds(); |
| 2044 | } |
| 2045 | else |
| 2046 | SwitchState(eHiding); |
| 2047 | |
| 2048 | OnZoomOut(); |
| 2049 | } |
| 2050 | |
| 2051 | void CWeapon::Show(bool now) |
| 2052 | { |
no outgoing calls
no test coverage detected