mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -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. |
||
|---|---|---|
| .. | ||
| config | ||
| counters | ||
| countries | ||
| help | ||
| icons | ||
| phases | ||
| replay | ||
| tips | ||
| usericons | ||
| appicon.icns | ||
| appicon.ico | ||
| cardback.svg | ||
| cockatrice-original.svg | ||
| cockatrice.png | ||
| cockatrice.svg | ||
| hand.svg | ||
| hr.jpg | ||