Guest User

Untitled

a guest
Jul 13th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. void PM_CheckWallWalk(void){
  2. if(pm->ps->states & isWallWalking){
  3. // here do nothing i assume?
  4. }
  5. else if(pm-ps->bitFlags & usingJumping){
  6. // check if he could hit a wall, then put that state in wallwalk
  7. if (PM_CheckDirection(pml.forward,qtrue))
  8. {
  9. pm->ps->states |= isWallWalking;
  10. Com_Printf("I can wall-walk now!\n");
  11.  
  12. }
  13. }
  14.  
  15. }
Add Comment
Please, Sign In to add comment