mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-30 21:42:59 +00:00
migrated to SDL3
This commit is contained in:
@@ -384,7 +384,7 @@ bool last_mkey = false;
|
||||
extern int mousepx, mousepy;
|
||||
|
||||
void game_frame() {
|
||||
const Uint8 *keystate = SDL12_GetKeyState(NULL);
|
||||
const sdl_keystate_type *keystate = SDL12_GetKeyState(NULL);
|
||||
if(keystate['3'])
|
||||
current_room->place_block_full(mousepx / block_x, mousepy / block_y, 0);
|
||||
if(keystate['1'])
|
||||
|
||||
Reference in New Issue
Block a user