Skip to content

Fix crash while playing against CPU

Dawid Trendota requested to merge dejwi/knights:449639-fix-legal-moves into master

Crash was caused by dereference of invalidates QList iterator. Fixed by using erase-remove_if idiom instead of remove values in iterator based loop. BUG: 449639

Closes #449639

Merge request reports