This commit is contained in:
DarthMooMancer
2025-09-27 19:10:16 -04:00
parent 99bcdbaf46
commit 959e539d4b
5 changed files with 7 additions and 12 deletions
-1
View File
@@ -28,7 +28,6 @@ void Window::update_display(Point* segments[]) {
m_board[segments[2]->m_row][segments[2]->m_col] = segments[2];
for(int i = 3; i < ROW * COL; i++) {
if(segments[i] != nullptr) {
if(segments[i]->m_row < 0 || segments[i]->m_col < 0) continue;
m_board[segments[i]->m_row][segments[i]->m_col] = segments[i];
}
}