mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-07 18:43:26 -08:00
getPreferredPrinting returns a null PrintingInfo when a deck card has no database entry or printings. SetProviderIdToPreferred dereferenced getSet() unconditionally, crashing on custom or unresolved cards. Guard against a null preferred set and leave the card's cleared printing data as is. Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| card_node_function.cpp | ||
| card_node_function.h | ||
| deck_file_format.cpp | ||
| deck_file_format.h | ||
| deck_loader.cpp | ||
| deck_loader.h | ||
| loaded_deck.cpp | ||
| loaded_deck.h | ||