1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 19:47:54 +00:00

added an empty default keyhandler just in case

This commit is contained in:
Zeno Rogue
2018-01-23 03:34:35 +01:00
parent 72a48e615e
commit b7117cfa6a

View File

@@ -12,7 +12,7 @@ bool holdmouse;
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)
bool mousing = true;