From 5a13f629d1a351d0539b594c0821eed62dc6277e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 1 May 2022 16:43:30 +0200 Subject: [PATCH] split off get_actions from handleInput --- multi.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/multi.cpp b/multi.cpp index d93f6ab4..2ceef174 100644 --- a/multi.cpp +++ b/multi.cpp @@ -751,10 +751,7 @@ EX void initConfig() { #endif } -EX void handleInput(int delta) { -#if CAP_SDL - double d = delta / 500.; - +EX void get_actions() { const Uint8 *keystate = SDL12_GetKeyState(NULL); for(int i=0; i