fixed the memleak i introduced.
This commit is contained in:
@@ -1106,7 +1106,7 @@ int GameObserver::targetListIsSet(MTGCardInstance * card)
|
|||||||
return (targetChooser->targetListSet());
|
return (targetChooser->targetListSet());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
targetChooser = NULL;
|
SAFE_DELETE(targetChooser);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user