Jump to content

Home

Wall run with weapons


Recommended Posts

in bg_pmove.c, search for this block of code

 

	else if ( pm->cmd.upmove > 0 && pm->waterlevel < 2 &&
	pm->ps->fd.forcePowerLevel[FP_LEVITATION] > FORCE_LEVEL_0 &&
	!(pm->ps->pm_flags&PMF_JUMP_HELD) &&
	(pm->ps->weapon == WP_SABER || pm->ps->weapon == WP_MELEE) &&
	!PM_IsRocketTrooper() &&
	!BG_HasYsalamiri(pm->gametype, pm->ps) &&
	BG_CanUseFPNow(pm->gametype, pm->ps, pm->cmd.serverTime, FP_LEVITATION) )

 

Put '//' at the start of the line that checks the weapon, like so

// (pm->ps->weapon == WP_SABER || pm->ps->weapon == WP_MELEE)

Link to post
Share on other sites
×
×
  • Create New...