whoops brackets wrapped the wrong spot.

This commit is contained in:
omegablast2002@yahoo.com
2011-04-20 21:29:48 +00:00
parent 561054ba34
commit 6fe3411656
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1256,8 +1256,8 @@ AIPlayer * AIPlayerFactory::createAIPlayer(MTGAllCards * collection, Player * op
while(tempDeckId > 100) while(tempDeckId > 100)
{ {
tempDeckId -= 100; tempDeckId -= 100;
avatarId = tempDeckId;
} }
avatarId = tempDeckId;
sprintf(avatarFile, "avatar%i.jpg", avatarId); sprintf(avatarFile, "avatar%i.jpg", avatarId);
sprintf(deckFileSmall, "ai_baka_deck%i", deckid); sprintf(deckFileSmall, "ai_baka_deck%i", deckid);
} }
+1 -1
View File
@@ -77,8 +77,8 @@ int DeckMetaData::getAvatarId()
while(tempDeckId > 100) while(tempDeckId > 100)
{ {
tempDeckId -= 100; tempDeckId -= 100;
avatarId = tempDeckId;
} }
avatarId = tempDeckId;
return avatarId; return avatarId;
} }