Files
Cockatrice/cockatrice/resources
Basile ClementandGitHub 76fa87c63e Fix StackZone crash when divideCardSpaceInZone overflows (#5751)
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.
2025-03-21 00:30:46 +00:00
..
2015-04-19 18:14:29 +02:00
2022-03-19 20:07:40 -05:00
2025-03-03 13:12:09 -05:00
2015-06-15 14:37:19 +02:00
2015-06-15 14:37:19 +02:00
2015-04-28 16:06:36 +02:00
2015-04-28 16:06:36 +02:00
2015-04-28 16:06:36 +02:00
2015-04-28 16:06:36 +02:00
2015-04-28 16:06:36 +02:00
2009-08-24 13:33:38 +02:00