Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void PM_CheckWallWalk(void){
- if(pm->ps->states & isWallWalking){
- // here do nothing i assume?
- }
- else if(pm-ps->bitFlags & usingJumping){
- // check if he could hit a wall, then put that state in wallwalk
- if (PM_CheckDirection(pml.forward,qtrue))
- {
- pm->ps->states |= isWallWalking;
- Com_Printf("I can wall-walk now!\n");
- }
- }
- }
Add Comment
Please, Sign In to add comment