CAP_HOLDKEYS guard added

This commit is contained in:
Zeno Rogue 2023-04-15 01:21:07 +02:00
parent a8b75c317a
commit 6a1601becf
1 changed files with 2 additions and 0 deletions

View File

@ -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);