Searched refs:bouncestrength (Results 1 – 1 of 1) sorted by relevance
2749 fixed_t bouncestrength; in P_CheckBouncySectors() local2767 bouncestrength = P_AproxDistance(rover->master->dx, rover->master->dy)/100; in P_CheckBouncySectors()2772 player->mo->momx = -FixedMul(player->mo->momx,bouncestrength); in P_CheckBouncySectors()2773 player->mo->momy = -FixedMul(player->mo->momy,bouncestrength); in P_CheckBouncySectors()2794 newmom = momentum.z = -FixedMul(momentum.z,bouncestrength)/2; in P_CheckBouncySectors()2796 if (abs(newmom) < (bouncestrength*2)) in P_CheckBouncySectors()