mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-19 11:44:48 +00:00
fixed the compilation with CAP_SDL2
This commit is contained in:
parent
308fcd90aa
commit
1ec7b0ece1
@ -918,11 +918,6 @@ EX void mainloopiter() {
|
||||
lastticks = ticks;
|
||||
|
||||
#if CAP_SDL2
|
||||
rug::using_rugview urv;
|
||||
auto& lastticks = sc_ticks;
|
||||
ld t = (ticks - lastticks) * shiftmul / 1000.;
|
||||
lastticks = ticks;
|
||||
|
||||
if(keystate[SDL_SCANCODE_END] && GDIM == 3 && DEFAULTNOR(SDL_SCANCODE_END)) full_forward_camera(-t);
|
||||
if(keystate[SDL_SCANCODE_HOME] && GDIM == 3 && DEFAULTNOR(SDL_SCANCODE_HOME)) full_forward_camera(t);
|
||||
if(keystate[SDL_SCANCODE_RIGHT] && DEFAULTNOR(SDL_SCANCODE_RIGHT)) full_rotate_camera(0, -t);
|
||||
|
Loading…
Reference in New Issue
Block a user