X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Finputbox.c;h=e457414b4a4ed411b422a7c0404925cab92c7603;hb=bf9bc8b3de0741ba39c3c7547fc29c12073d2f0c;hp=26dc4536c477fa198a1abdf44c2adac91833ebb5;hpb=24c0e211b8a839afe6bb5fc5c603d450a72b9160;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/inputbox.c b/qcsrc/menu/xonotic/inputbox.c index 26dc4536c..e457414b4 100644 --- a/qcsrc/menu/xonotic/inputbox.c +++ b/qcsrc/menu/xonotic/inputbox.c @@ -74,7 +74,7 @@ float XonoticInputBox_keyDown(entity me, float key, float ascii, float shift) { float r; r = 0; - if(key == K_ENTER) + if(key == K_ENTER || key == K_KP_ENTER) { if(me.cvarName) {