From ce401b623775aad546db4bb3755422945ffa6a85 Mon Sep 17 00:00:00 2001 From: fdai7184 Date: Fri, 10 Feb 2023 21:07:57 +0100 Subject: [PATCH] refactoring:remove other unreachable code --- src/input.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/input.c b/src/input.c index 5da51bf..aa6d2cd 100644 --- a/src/input.c +++ b/src/input.c @@ -41,19 +41,14 @@ char getInput(){ switch(key){ case 'w': return 'u'; - break; case 'a': return 'l'; - break; case 's': return 'd'; - break; case 'd': return 'd'; - break; case 'q': return 'q'; - break; case 'p': printf("\033[31mgame paused, p to continue"); printf("\033[0m");