final cleanup for now as it uses a more efficient movement tech, has cleaner names and code (no magic numbers), use ptrs instead of a bunch of vectors and copies
This commit is contained in:
+1
-1
@@ -38,11 +38,11 @@ int main () {
|
||||
window.update_display(segments);
|
||||
window.draw_display(200);
|
||||
}
|
||||
|
||||
input_thread.join();
|
||||
for(int i = (ROW * COL) - 1; i > 0; i--) {
|
||||
if(segments[i] == nullptr) continue;
|
||||
delete segments[i];
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user