Fixed a crash when AI try to activate a combo (caused by new ANYTYPEOFMANA management), fixed the Visual C++ project file descriptor, fixed ELD set DAT file, improved Andorid downloader, fixed primitives.
This commit is contained in:
@@ -3423,7 +3423,7 @@ MTGCardInstance * AIPlayerBaka::activateCombo()
|
||||
}
|
||||
SAFE_DELETE(hintTc);
|
||||
}
|
||||
if(payTheManaCost(totalCost,nextCardToPlay->has(Constants::ANYTYPEOFMANA),nextCardToPlay,gotPayments))
|
||||
if(payTheManaCost(totalCost,(nextCardToPlay?nextCardToPlay->has(Constants::ANYTYPEOFMANA):0),nextCardToPlay,gotPayments)) //Fix crash when nextCardToPlay is null.
|
||||
{
|
||||
if(comboCards.size())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user