Erwan
- cards syntax errors - compilation errors fix for PSP
This commit is contained in:
@@ -176,7 +176,7 @@ vector<int> MTGMomirRule::pool[20];
|
||||
MTGMomirRule::MTGMomirRule(int _id, MTGAllCards * _collection):MTGAbility(_id, NULL){
|
||||
collection = _collection;
|
||||
if (!initialized){
|
||||
for (int i = 0; i < collection->ids.size(); i++){
|
||||
for (size_t i = 0; i < collection->ids.size(); i++){
|
||||
MTGCard * card = collection->collection[collection->ids[i]];
|
||||
if (card->isACreature()){
|
||||
int convertedCost = card->getManaCost()->getConvertedCost();
|
||||
|
||||
@@ -250,7 +250,7 @@ void ShopItems::ButtonPressed(int controllerId, int controlId){
|
||||
}else{
|
||||
safeDeleteDisplay();
|
||||
display = NEW CardDisplay(12,NULL, SCREEN_WIDTH - 200, SCREEN_HEIGHT/2,this,NULL,5);
|
||||
int curNbcards = playerdata->collection->totalCards();
|
||||
|
||||
MTGDeck * tempDeck = NEW MTGDeck(NULL,playerdata->collection->database);
|
||||
|
||||
tempDeck->addRandomCards(1, setIds[showPriceDialog],Constants::RARITY_R);
|
||||
|
||||
Reference in New Issue
Block a user