| 845 | dir(right, strafe, -1, k_right, k_left) |
| 846 | |
| 847 | void attack(bool on) |
| 848 | { |
| 849 | if(intermission || (ispaused && player1->state == CS_ALIVE) || ispaused) return; |
| 850 | if(editmode) editdrag(on); |
| 851 | else if(player1->state==CS_DEAD || player1->state==CS_SPECTATE) |
| 852 | { |
| 853 | if(!on) tryrespawn(); |
| 854 | } |
| 855 | else player1->attacking = on; |
| 856 | } |
| 857 | |
| 858 | void jumpn(bool on) |
| 859 | { |
no test coverage detected