// we REALLY need this handling to happen, even if the move is not executed
if (!(PHYS_INPUT_BUTTONS(self) & 2)) // !jump
UNSET_JUMP_HELD(self); // canjump = true
+
+#ifdef CSQC
+ PM_dodging_checkpressedkeys();
+ PM_dodging_updatepressedkeys();
+#endif
}
#ifdef SVQC
self.dodging_direction_x = self.dodging_direction_x * 1.0/length;
self.dodging_direction_y = self.dodging_direction_y * 1.0/length;
}
-
-#ifdef CSQC
- PM_dodging_updatepressedkeys();
-#endif
}
void PM_dodging()
self.dodging_direction_x = 0;
self.dodging_direction_y = 0;
}
-
-#ifdef CSQC
- PM_dodging_checkpressedkeys();
-#endif
}
#ifdef SVQC