From b7117cfa6a2d462392f4ca3379d291416d9dd571 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 23 Jan 2018 03:34:35 +0100 Subject: [PATCH] added an empty default keyhandler just in case --- control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.cpp b/control.cpp index 8138df50..83d76e65 100644 --- a/control.cpp +++ b/control.cpp @@ -12,7 +12,7 @@ bool holdmouse; int getcstat, lgetcstat; ld getcshift; bool inslider; -function keyhandler; +function keyhandler = [] (int sym, int uni) {}; // is the player using mouse? (used for auto-cross) bool mousing = true;