fixed client crash that occurred when the game ended with a card tap/untap animation running

This commit is contained in:
Max-Wilhelm Bruker
2012-03-11 11:26:07 +01:00
parent 332ca29d62
commit 61b351aa9f
+3
View File
@@ -112,6 +112,9 @@ CardItem::~CardItem()
{
prepareDelete();
if (scene())
static_cast<GameScene *>(scene())->unregisterAnimationItem(this);
delete cardMenu;
cardMenu = 0;
delete moveMenu;