We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47d85a5 commit 58809c8Copy full SHA for 58809c8
sources/libengine/keybinds.cpp
@@ -312,6 +312,7 @@ namespace cage
312
313
bool guiAssign(const GenericInput &in)
314
{
315
+ CAGE_ASSERT(assigningIndex < matchers.size());
316
if (in.has<input::WindowFocusLose>())
317
318
cancel();
@@ -337,6 +338,8 @@ namespace cage
337
338
}
339
if (in.has<input::MouseDoublePress>() || in.has<input::MouseRelease>() || in.has<input::MouseMove>() || in.has<input::MouseRelativeMove>())
340
return false;
341
+ if (in.has<input::EngineTick>() || in.has<input::GameTick>())
342
+ return false;
343
override(assigningIndex, in);
344
345
return true;
0 commit comments