mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-09-23 11:38:42 +00:00
added an empty default keyhandler just in case
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ bool holdmouse;
|
|||||||
|
|
||||||
int getcstat, lgetcstat; ld getcshift; bool inslider;
|
int getcstat, lgetcstat; ld getcshift; bool inslider;
|
||||||
|
|
||||||
function <void(int sym, int uni)> keyhandler;
|
function <void(int sym, int uni)> keyhandler = [] (int sym, int uni) {};
|
||||||
|
|
||||||
// is the player using mouse? (used for auto-cross)
|
// is the player using mouse? (used for auto-cross)
|
||||||
bool mousing = true;
|
bool mousing = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user