From 69963861d798d188807fffad020aa3626bd8ea60 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 22 Mar 2019 15:56:19 -0400 Subject: Add d key --- sol.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sol.c b/sol.c index cde7b2b..5c4df78 100644 --- a/sol.c +++ b/sol.c @@ -317,6 +317,11 @@ static bool keyDown(SDL_KeyboardEvent key) { layout.backTexture += Cards_Back1; return true; } + case SDLK_d: { + game.draw = (game.draw == 1 ? 3 : 1); + gameDeal(); + return true; + } default: return false; } } -- cgit 1.4.1