mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
The divideCardSpaceInZone function introduced in #4930 is buggy and sometimes returns an index that is too large for the current zone, which causes us to call `cards.at(index)` with an `index` that's bigger than the amount of cards. This is the bug that #5609 intended to fix but was improperly diagnosed. Remove part of #5609 as the cases it is guarding against (e.g. null card pointer) cannot actually happen. |
||
|---|---|---|
| .. | ||
| appearance.svg | ||
| debug.ini | ||
| deckeditor.svg | ||
| general.svg | ||
| interface.svg | ||
| messages.svg | ||
| qtlogging.ini | ||
| shorcuts.svg | ||
| sound.svg | ||