* Fix a number of warnings
This commit is contained in:
jean.chalard
2009-01-18 14:13:13 +00:00
parent 1cbf9c32e9
commit 5466a7004c
6 changed files with 25 additions and 25 deletions
+3 -3
View File
@@ -143,9 +143,9 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
OutputDebugString(buf);
#endif
MultiAbility * multi = NULL;
int delimiter = line.find("}:");
unsigned int delimiter = line.find("}:");
ManaCost * cost = NULL;
if (delimiter!= string::npos){
cost = ManaCost::parseManaCost(line.substr(0,delimiter+1));
@@ -522,7 +522,7 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
multi->Add(a);
}else{
game->addObserver(a);
}
}
}else{
OutputDebugString ("uh oh\n");
card->controller()->getManaPool()->add(output);