diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/input.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index 2c03c64..5c5a71d 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -353,7 +353,7 @@ void shutdown() void action_press(Key *key) { - switch(key->action()->id()) { + switch(key->action()->id()) { case Action::None: case Action::Console: return; @@ -438,7 +438,7 @@ void action_press(Key *key) /* -- fire control -------------------------------- */ case Action::Fire: - local_controlflags = local_controlflags & core::EntityControlable::ControlFlagFire; + local_controlflags = local_controlflags | core::EntityControlable::ControlFlagFire; break; } } @@ -696,8 +696,7 @@ void reset() local_roll = 0.0f; local_vstrafe = 0.0f; local_strafe = 0.0f; - local_afterburner = 0.0f; - + local_afterburner = 0.0f; local_controlflags = core::EntityControlable::ControlFlagNone; if (core::localcontrol()) { |