World at War - Rocketjumps

Rocketjumps happen in Weapon_RocketLauncher_Fire and were fixed by not altering the z-velocity of the player if -weaponParms->forward[2] is > 0.0f.

Part of Weapon_RocketLauncher_Fire - WaW

/* . . . */

if ( ent->client )
{
    upVec = wp->forward[2];
    
    if(-upVec > 0.0f)
        upVec = 0.0f;

    ent->client->ps.velocity[0] = gclient->ps.velocity[0] - wp->forward[0] * 64.0f;
    ent->client->ps.velocity[1] = gclient->ps.velocity[1] - wp->forward[1] * 64.0f;
    ent->client->ps.velocity[2] = gclient->ps.velocity[2] - upVec * 64.0f;
}

return result;

Part of Weapon_RocketLauncher_Fire - CoD4

/*Part of Weapon_RocketLauncher_Fire*/

if ( ent->client )
{
    ent->client->ps.velocity[0] = gclient->ps.velocity[0] - wp->forward[0] * 64.0f;
    ent->client->ps.velocity[1] = gclient->ps.velocity[1] - wp->forward[1] * 64.0f;
    ent->client->ps.velocity[2] = gclient->ps.velocity[2] - wp->forward[2] * 64.0f;
}

return result;