about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--sol.c5
1 files changed, 5 insertions, 0 deletions
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;
 	}
 }