From 6a1601becfb03a47ab9c01307589a8f37766051c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 15 Apr 2023 01:21:07 +0200 Subject: [PATCH] CAP_HOLDKEYS guard added --- rug.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rug.cpp b/rug.cpp index 3e8c6038..dbb5e904 100644 --- a/rug.cpp +++ b/rug.cpp @@ -1341,8 +1341,10 @@ EX void actDraw() { physics(); drawRugScene(); + #if CAP_HOLDKEYS double alpha = (ticks - lastticks) / 1000.0; lastticks = ticks; + #endif #if CAP_HOLDKEYS const Uint8 *keystate = SDL12_GetKeyState(NULL);