diff options
Diffstat (limited to '')
-rw-r--r-- | src/Camera.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Camera.cpp b/src/Camera.cpp index d7ee398b..735ff4a2 100644 --- a/src/Camera.cpp +++ b/src/Camera.cpp @@ -136,6 +136,15 @@ CCamera::RenderMotionBlur(void) m_motionBlur, m_BlurType, m_imotionBlurAddAlpha); } +void +CCamera::ClearPlayerWeaponMode() +{ + PlayerWeaponMode.Mode = 0; + PlayerWeaponMode.MaxZoom = 1; + PlayerWeaponMode.MinZoom = -1; + PlayerWeaponMode.Duration = 0.0f; +} + /* * |