BUGFIX: It was resetting the y & x positions prior to returning for the bottom row of the board.

This commit is contained in:
David Vereb 2023-04-06 17:30:52 -04:00
parent 52a5cbd90e
commit 6839b93fe5

View File

@ -183,6 +183,7 @@ void GetPosition(unsigned long position, int &y, int &x)
{ {
y = 6; y = 6;
x = position - 40; x = position - 40;
return;
} }
x = y = 0; x = y = 0;