diff options
Diffstat (limited to 'src/client/input.cc')
-rw-r--r-- | src/client/input.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index cb54e32..d3feefe 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -4,6 +4,7 @@ the terms and conditions of the GNU General Public License version 2 */ +#include "audio/audio.h" #include "core/core.h" #include "client/client.h" #include "client/input.h" @@ -78,6 +79,7 @@ void func_ui_control(std::string const &args) render::Camera::set_direction(0.0f); render::Camera::set_pitch(0.0f); } + audio::play("ui/control"); } void func_ui_console(std::string const &args) @@ -99,6 +101,7 @@ void func_ui_view(std::string const &args) local_roll = 0; local_pitch = 0; local_direction = 0; + audio::play("ui/view"); } } |