Skip to content

Commit

Permalink
libcommon|Fixed: Update controls at sharp tics in non-map states
Browse files Browse the repository at this point in the history
Fixes the problem where in intermission it was difficult to press
Use to skip to the next stage.
  • Loading branch information
skyjake committed Jan 31, 2012
1 parent 7cdc6fd commit ed336ce
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions doomsday/plugins/common/src/p_user.c
Expand Up @@ -1970,9 +1970,12 @@ void P_PlayerThink(player_t *player, timespan_t ticLength)

if(G_GameState() != GS_MAP)
{
// Just check the controls in case some UI stuff is relying on them
// (like intermission).
P_PlayerThinkUpdateControls(player);
if(DD_IsSharpTick())
{
// Just check the controls in case some UI stuff is relying on them
// (like intermission).
P_PlayerThinkUpdateControls(player);
}
return;
}

Expand Down

0 comments on commit ed336ce

Please sign in to comment.