From 6839b93fe5681a78710b01e25c96692ec5365e80 Mon Sep 17 00:00:00 2001 From: David Vereb Date: Thu, 6 Apr 2023 17:30:52 -0400 Subject: [PATCH] BUGFIX: It was resetting the y & x positions prior to returning for the bottom row of the board. --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 3573391..abf9543 100644 --- a/main.cpp +++ b/main.cpp @@ -183,6 +183,7 @@ void GetPosition(unsigned long position, int &y, int &x) { y = 6; x = position - 40; + return; } x = y = 0;