Skip to content

Commit

Permalink
Fixed jumping
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 6, 2004
1 parent 2692a58 commit 1e56721
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions doomsday/Src/jHeretic/P_user.c
Expand Up @@ -775,18 +775,13 @@ void P_PlayerThink(player_t *player)
}
if(player->jumpTics)
player->jumpTics--;
P_CheckPlayerJump(player);
if(cmd->arti)
{ // Use an artifact
if(cmd->arti == 0xff)
{
P_PlayerNextArtifact(player);
}
else // Jump?
{
P_CheckPlayerJump(player);
if(cmd->arti)
P_PlayerUseArtifact(player, cmd->arti);
}
else
P_PlayerUseArtifact(player, cmd->arti);
}

if(cmd->suicide)
Expand Down

0 comments on commit 1e56721

Please sign in to comment.