Replaced ManaCost's int array with int8_t. Shrinks ManaCost by another 24 bytes, which in turn lowers CardPrimitive's footprint by the same amount.

This commit is contained in:
wrenczes
2011-05-04 10:02:47 +00:00
parent d922d4fe06
commit 0cb8c50b39
5 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ int AIMomirPlayer::momir()
if (efficiency >= chance)
{
int _cost[] = { Constants::MTG_COLOR_ARTIFACT, converted };
int8_t _cost[] = { Constants::MTG_COLOR_ARTIFACT, converted };
ManaCost * cost = NEW ManaCost(_cost);
MTGAbility * ability = getMomirAbility();
MTGCardInstance * card = game->hand->cards[0];