Fixed some warnings

+ added compile flags to mute some warnings that don't have an obvious fix
This commit is contained in:
pankdm
2013-09-16 17:42:07 +00:00
parent 3c3fcfc655
commit 4aa5dec51a
4 changed files with 5 additions and 4 deletions
-2
View File
@@ -1462,7 +1462,6 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
vector<string> splitMayPay = parseBetween(s, "pay(", ")", true);
if(splitMayPay.size())
{
MTGAbility * a1 = NULL;
GenericPaidAbility * a = NEW GenericPaidAbility(observer, id, card, target,newName,castRestriction,splitMayPay[1],storedPayString);
a->oneShot = 1;
a->canBeInterrupted = false;
@@ -1967,7 +1966,6 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
vector<string> splitMayPaysub = parseBetween(s, "pay[[","]]", true);
if(splitMayPaysub.size())
{
MTGAbility * a1 = NULL;
GenericPaidAbility * a = NEW GenericPaidAbility(observer, id, card, target,newName,castRestriction,splitMayPaysub[1],storedPayString);
a->oneShot = 1;
a->canBeInterrupted = false;