Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
61b351aa
Commit
61b351aa
authored
Mar 11, 2012
by
Max-Wilhelm Bruker
Browse files
fixed client crash that occurred when the game ended with a card tap/untap animation running
parent
332ca29d
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/carditem.cpp
View file @
61b351aa
...
@@ -112,6 +112,9 @@ CardItem::~CardItem()
...
@@ -112,6 +112,9 @@ CardItem::~CardItem()
{
{
prepareDelete
();
prepareDelete
();
if
(
scene
())
static_cast
<
GameScene
*>
(
scene
())
->
unregisterAnimationItem
(
this
);
delete
cardMenu
;
delete
cardMenu
;
cardMenu
=
0
;
cardMenu
=
0
;
delete
moveMenu
;
delete
moveMenu
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment