Cockatrice/cockatrice
Basile Clement 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
..
resources Fix StackZone crash when divideCardSpaceInZone overflows (#5751) 2025-03-21 00:30:46 +00:00
sounds Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
src Fix StackZone crash when divideCardSpaceInZone overflows (#5751) 2025-03-21 00:30:46 +00:00
themes Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
translations Translate cockatrice_en@source.ts in pt_BR (#5601) 2025-02-09 22:12:38 +00:00
.qdevelop icon_draw and icon_untap added, icon_general and icon_messages modified 2009-07-31 13:37:16 +02:00
CMakeLists.txt Add CONFIGURE_DEPENDS to the cmake (#5739) 2025-03-17 02:43:11 +00:00
cockatrice.desktop Updated Spanish translation 2011-07-16 11:38:57 +02:00
cockatrice.qrc Generic mana symbols. (#5685) 2025-03-03 13:12:09 -05:00
cockatrice.rc Included uninstaller for Windows version 2010-09-17 15:26:07 +02:00
cockatrice_en@source.ts Update translations (#5758) 2025-03-21 00:23:26 +00:00