Fix crash while playing against CPU
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
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