From eb5b23eb2de26e6c74e7359dab9144d6bc45789e Mon Sep 17 00:00:00 2001 From: Florian Paul Schmidt Date: Sat, 20 Mar 2010 01:47:39 +0100 Subject: [PATCH] - some whitespace cleanup --- qcsrc/server/mutators/mutator_dodging.qc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qcsrc/server/mutators/mutator_dodging.qc b/qcsrc/server/mutators/mutator_dodging.qc index 20a74efd3..d9520c07b 100644 --- a/qcsrc/server/mutators/mutator_dodging.qc +++ b/qcsrc/server/mutators/mutator_dodging.qc @@ -74,8 +74,8 @@ MUTATOR_HOOKFUNCTION(dodging_GetPressedKeys) { if (self.movement_x > 0) { // is this a state change? - if (!(self.pressedkeys & KEY_FORWARD)) { - if ((time - self.last_FORWARD_KEY_time) < self.cvar_cl_dodging_timeout) { + if (!(self.pressedkeys & KEY_FORWARD)) { + if ((time - self.last_FORWARD_KEY_time) < self.cvar_cl_dodging_timeout) { dodge_detected = 1; self.dodging_action = 1; self.dodging_direction_x = 1.0; @@ -87,8 +87,8 @@ MUTATOR_HOOKFUNCTION(dodging_GetPressedKeys) { if (self.movement_x < 0) { // is this a state change? - if (!(self.pressedkeys & KEY_BACKWARD)) { - if ((time - self.last_BACKWARD_KEY_time) < self.cvar_cl_dodging_timeout) { + if (!(self.pressedkeys & KEY_BACKWARD)) { + if ((time - self.last_BACKWARD_KEY_time) < self.cvar_cl_dodging_timeout) { dodge_detected = 1; self.dodging_action = 1; self.dodging_direction_x = -1.0; @@ -100,8 +100,8 @@ MUTATOR_HOOKFUNCTION(dodging_GetPressedKeys) { if (self.movement_y > 0) { // is this a state change? - if (!(self.pressedkeys & KEY_RIGHT)) { - if ((time - self.last_RIGHT_KEY_time) < self.cvar_cl_dodging_timeout) { + if (!(self.pressedkeys & KEY_RIGHT)) { + if ((time - self.last_RIGHT_KEY_time) < self.cvar_cl_dodging_timeout) { dodge_detected = 1; self.dodging_action = 1; self.dodging_direction_y = 1.0; @@ -113,8 +113,8 @@ MUTATOR_HOOKFUNCTION(dodging_GetPressedKeys) { if (self.movement_y < 0) { // is this a state change? - if (!(self.pressedkeys & KEY_LEFT)) { - if ((time - self.last_LEFT_KEY_time) < self.cvar_cl_dodging_timeout) { + if (!(self.pressedkeys & KEY_LEFT)) { + if ((time - self.last_LEFT_KEY_time) < self.cvar_cl_dodging_timeout) { dodge_detected = 1; self.dodging_action = 1; self.dodging_direction_y = -1.0; -- 2.39.2