From ed336ce1b2e649e2d2eefacdc471696ef79f24f3 Mon Sep 17 00:00:00 2001 From: skyjake Date: Tue, 31 Jan 2012 09:09:34 +0200 Subject: [PATCH] libcommon|Fixed: Update controls at sharp tics in non-map states Fixes the problem where in intermission it was difficult to press Use to skip to the next stage. --- doomsday/plugins/common/src/p_user.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doomsday/plugins/common/src/p_user.c b/doomsday/plugins/common/src/p_user.c index b103fe6d3f..f07f1bf56a 100644 --- a/doomsday/plugins/common/src/p_user.c +++ b/doomsday/plugins/common/src/p_user.c @@ -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; }