From 4a79c969ca915bd6c570b5858f40d11b0f79f697 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Wed, 11 Dec 2024 16:16:07 +1100 Subject: [PATCH] Check for more movement keys in cheat sequences --- src/st_stuff.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/st_stuff.c b/src/st_stuff.c index ec21ade52..48f5f3f49 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -290,9 +290,12 @@ cheatseq_t cheat_powerup[7] = static bool movekey(char key) { - return (key == keyboardright || key == keyboardright2 || key == keyboardleft - || key == keyboardforward || key == keyboardforward2 || key == keyboardback - || key == keyboardback2 || key == keyboardstrafeleft || key == keyboardstraferight); + return (key == keyboardright || key == keyboardright2 + || key == keyboardleft || key == keyboardleft2 + || key == keyboardforward || key == keyboardforward2 + || key == keyboardback || key == keyboardback2 + || key == keyboardstrafeleft || key == keyboardstrafeleft2 + || key == keyboardstraferight || key == keyboardstraferight2); } static void ST_InitCheats(void)