In pmove.c:
in pml_t -
Add -
Code: Select all
qboolean doublejump; //EGL Double Jump support
Change
Code: Select all
if (pm->groundentity == NULL)
return;
Code: Select all
if (pm->groundentity == NULL)
{
if(pml.doublejump == false) //EGL Double Jump
{
pml.doublejump = true;
if(pml.velocity[2] > 0) //Still rising?
{
if(pml.velocity[2] < 270)
pml.velocity[2] = 270;
}
}
return; // in air, so no effect
}
Any thoughts?
(Incidentally EGL has nothing to do with EGLQuake... them's just my initials)