Removed the previous limit of 99 avatars images, if "avatarXX.jpg" image is not present, for deckXX.txt of AI it will be used "baka.jpg" image instead.

This commit is contained in:
Vittorio Alfieri
2021-10-07 15:07:00 +02:00
parent 99b501105d
commit aafaadb76f
2 changed files with 6 additions and 3 deletions

View File

@@ -103,10 +103,10 @@ void DeckMetaData::LoadStats()
}
// since we only have 100 stock avatar images, we need to recycle the images for deck numbers > 99
// Removed the previous limit of 99 images, if "avatarXX.jpg" image is not present, for AI it will be used "baka.jpg" image instead.
int DeckMetaData::getAvatarId()
{
return mDeckId % 100;
return mDeckId;
}
//Accessors