Guest User

Untitled

a guest
Jul 13th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. else if(pm-ps->bitFlags & usingJumping){
  2. if (PM_CheckDirection(pml.forward,qtrue)){
  3. // do things
  4. }
  5. }
  6.  
  7.  
  8. NOT
  9.  
  10. else if(pm-ps->bitFlags & usingJumping){
  11.  
  12. // check if he could hit a wall, then put that state in wallwalk
  13.  
  14. if (PM_CheckDirection(pml.forward,qtrue))
  15.  
  16.  
  17. {
  18.  
  19.  
  20.  
  21. pm->ps->states |= isWallWalking;
  22.  
  23. }
  24.  
  25. }
Add Comment
Please, Sign In to add comment