From d5d9d9ba960c02fa47ed0f7b7ca6aab6dac8943d Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 15 Mar 2021 02:46:29 -0700 Subject: [PATCH] Re-remove 1-frame input delay To do this, GAMEMODE input needs to be processed, and Viridian needs to be moved, in the same sequence between render frames. So just move gameinput to after gamerender. Yes, this is not 2.2 order, but gameinput only handles player input and nothing else - plus a 1-frame input delay feels really awful to play with in over-30-mode. --- desktop_version/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/main.cpp b/desktop_version/src/main.cpp index 057cf9c0..eec68c0e 100644 --- a/desktop_version/src/main.cpp +++ b/desktop_version/src/main.cpp @@ -139,9 +139,9 @@ static const inline struct ImplFunc* get_gamestate_funcs( FUNC_LIST_BEGIN(GAMEMODE) {Func_fixed, runscript}, - {Func_input, gameinput}, {Func_fixed, gamerenderfixed}, {Func_delta, gamerender}, + {Func_input, gameinput}, {Func_fixed, gamelogic}, FUNC_LIST_END