mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-03 04:39:17 +00:00
CAP_HOLDKEYS guard added
This commit is contained in:
parent
a8b75c317a
commit
6a1601becf
2
rug.cpp
2
rug.cpp
@ -1341,8 +1341,10 @@ EX void actDraw() {
|
|||||||
physics();
|
physics();
|
||||||
drawRugScene();
|
drawRugScene();
|
||||||
|
|
||||||
|
#if CAP_HOLDKEYS
|
||||||
double alpha = (ticks - lastticks) / 1000.0;
|
double alpha = (ticks - lastticks) / 1000.0;
|
||||||
lastticks = ticks;
|
lastticks = ticks;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if CAP_HOLDKEYS
|
#if CAP_HOLDKEYS
|
||||||
const Uint8 *keystate = SDL12_GetKeyState(NULL);
|
const Uint8 *keystate = SDL12_GetKeyState(NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user