equal
typo fix
This commit is contained in:
@@ -271,7 +271,7 @@ void GameStateShop::cancelBooster(int)
|
|||||||
void GameStateShop::purchaseCard(int controlId)
|
void GameStateShop::purchaseCard(int controlId)
|
||||||
{
|
{
|
||||||
MTGCard * c = srcCards->getCard(controlId - BOOSTER_SLOTS);
|
MTGCard * c = srcCards->getCard(controlId - BOOSTER_SLOTS);
|
||||||
if (!c || !c->data || playerdata->credits - mPrices[controlId] < 0 || (c && c->getRarity() != Constants::RARITY_T))//cant buy tokens....
|
if (!c || !c->data || playerdata->credits - mPrices[controlId] < 0 || (c && c->getRarity() == Constants::RARITY_T))//cant buy tokens....
|
||||||
return;
|
return;
|
||||||
myCollection->Add(c);
|
myCollection->Add(c);
|
||||||
int price = mPrices[controlId];
|
int price = mPrices[controlId];
|
||||||
|
|||||||
Reference in New Issue
Block a user