Fix for issue 476 (Test suite debug error in VC++)

This commit is contained in:
wagic.the.homebrew
2011-10-20 13:22:54 +00:00
parent 84a074aede
commit 91e9881903
+4 -4
View File
@@ -974,10 +974,10 @@ int GameObserver::cardClick(MTGCardInstance * card, int abilityType)
int GameObserver::cardClick(MTGCardInstance * card, Targetable * object) int GameObserver::cardClick(MTGCardInstance * card, Targetable * object)
{ {
Player * clickedPlayer = NULL; Player * clickedPlayer = NULL;
int toReturn; int toReturn = 0;
MTGGameZone* zone; MTGGameZone* zone = NULL;
size_t index; size_t index = 0;
MTGCardInstance* backup; MTGCardInstance* backup = NULL;
if (!card) { if (!card) {
clickedPlayer = ((Player *) object); clickedPlayer = ((Player *) object);